...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/codecommit"
Overview
Constants

Overview ▾

Package codecommit provides the client and types for making API requests to AWS CodeCommit.

This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples.

You can use the AWS CodeCommit API to work with the following objects:

Repositories, by calling the following:

* BatchGetRepositories, which returns information about one or more repositories
associated with your AWS account.

* CreateRepository, which creates an AWS CodeCommit repository.

* DeleteRepository, which deletes an AWS CodeCommit repository.

* GetRepository, which returns information about a specified repository.

* ListRepositories, which lists all AWS CodeCommit repositories associated
with your AWS account.

* UpdateRepositoryDescription, which sets or updates the description of
the repository.

* UpdateRepositoryName, which changes the name of the repository. If you
change the name of a repository, no other users of that repository will
be able to access it until you send them the new HTTPS or SSH URL to use.

Branches, by calling the following:

* CreateBranch, which creates a new branch in a specified repository.

* DeleteBranch, which deletes the specified branch in a repository unless
it is the default branch.

* GetBranch, which returns information about a specified branch.

* ListBranches, which lists all branches for a specified repository.

* UpdateDefaultBranch, which changes the default branch for a repository.

Files, by calling the following:

* DeleteFile, which deletes the content of a specified file from a specified
branch.

* GetFile, which returns the base-64 encoded content of a specified file.

* GetFolder, which returns the contents of a specified folder or directory.

* PutFile, which adds or modifies a file in a specified repository and
branch.

Information about committed code in a repository, by calling the following:

* CreateCommit, which creates a commit for changes to a repository.

* GetBlob, which returns the base-64 encoded content of an individual
Git blob object within a repository.

* GetCommit, which returns information about a commit, including commit
messages and author and committer information.

* GetDifferences, which returns information about the differences in a
valid commit specifier (such as a branch, tag, HEAD, commit ID or other
fully qualified reference).

Merges, by calling the following:

* BatchDescribeMergeConflicts, which returns information about conflicts
in a merge between commits in a repository.

* CreateUnreferencedMergeCommit, which creates an unreferenced commit
between two branches or commits for the purpose of comparing them and
identifying any potential conflicts.

* DescribeMergeConflicts, which returns information about merge conflicts
between the base, source, and destination versions of a file in a potential
merge.

* GetMergeCommit, which returns information about the merge between a
source and destination commit.

* GetMergeConflicts, which returns information about merge conflicts between
the source and destination branch in a pull request.

* GetMergeOptions, which returns information about the available merge
options between two branches or commit specifiers.

* MergeBranchesByFastForward, which merges two branches using the fast-forward
merge option.

* MergeBranchesBySquash, which merges two branches using the squash merge
option.

* MergeBranchesByThreeWay, which merges two branches using the three-way
merge option.

Pull requests, by calling the following:

* CreatePullRequest, which creates a pull request in a specified repository.

* DescribePullRequestEvents, which returns information about one or more
pull request events.

* GetCommentsForPullRequest, which returns information about comments
on a specified pull request.

* GetPullRequest, which returns information about a specified pull request.

* ListPullRequests, which lists all pull requests for a repository.

* MergePullRequestByFastForward, which merges the source destination branch
of a pull request into the specified destination branch for that pull
request using the fast-forward merge option.

* MergePullRequestBySquash, which merges the source destination branch
of a pull request into the specified destination branch for that pull
request using the squash merge option.

* MergePullRequestByThreeWay. which merges the source destination branch
of a pull request into the specified destination branch for that pull
request using the three-way merge option.

* PostCommentForPullRequest, which posts a comment to a pull request at
the specified line, file, or request.

* UpdatePullRequestDescription, which updates the description of a pull
request.

* UpdatePullRequestStatus, which updates the status of a pull request.

* UpdatePullRequestTitle, which updates the title of a pull request.

Information about comments in a repository, by calling the following:

* DeleteCommentContent, which deletes the content of a comment on a commit
in a repository.

* GetComment, which returns information about a comment on a commit.

* GetCommentsForComparedCommit, which returns information about comments
on the comparison between two commit specifiers in a repository.

* PostCommentForComparedCommit, which creates a comment on the comparison
between two commit specifiers in a repository.

* PostCommentReply, which creates a reply to a comment.

* UpdateComment, which updates the content of a comment on a commit in
a repository.

Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:

* ListTagsForResource, which gets information about AWS tags for a specified
Amazon Resource Name (ARN) in AWS CodeCommit.

* TagResource, which adds or updates tags for a resource in AWS CodeCommit.

* UntagResource, which removes tags for a resource in AWS CodeCommit.

Triggers, by calling the following:

* GetRepositoryTriggers, which returns information about triggers configured
for a repository.

* PutRepositoryTriggers, which replaces all triggers for a repository
and can be used to create or delete triggers.

* TestRepositoryTriggers, which tests the functionality of a repository
trigger by sending data to the trigger target.

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).

See https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13 for more information on this service.

See codecommit package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/

Using the Client

To contact AWS CodeCommit with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS CodeCommit client CodeCommit for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/#New

The stub package, codecommitiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Operations ▾

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeCommit
    BatchDescribeMergeConflicts
    BatchDescribeMergeConflictsRequest
    BatchDescribeMergeConflictsWithContext
    BatchGetRepositories
    BatchGetRepositoriesRequest
    BatchGetRepositoriesWithContext
    CreateBranch
    CreateBranchRequest
    CreateBranchWithContext
    CreateCommit
    CreateCommitRequest
    CreateCommitWithContext
    CreatePullRequest
    CreatePullRequestRequest
    CreatePullRequestWithContext
    CreateRepository
    CreateRepositoryRequest
    CreateRepositoryWithContext
    CreateUnreferencedMergeCommit
    CreateUnreferencedMergeCommitRequest
    CreateUnreferencedMergeCommitWithContext
    DeleteBranch
    DeleteBranchRequest
    DeleteBranchWithContext
    DeleteCommentContent
    DeleteCommentContentRequest
    DeleteCommentContentWithContext
    DeleteFile
    DeleteFileRequest
    DeleteFileWithContext
    DeleteRepository
    DeleteRepositoryRequest
    DeleteRepositoryWithContext
    DescribeMergeConflicts
    DescribeMergeConflictsPagesWithContext
    DescribeMergeConflictsRequest
    DescribeMergeConflictsWithContext
    DescribePullRequestEvents
    DescribePullRequestEventsPagesWithContext
    DescribePullRequestEventsRequest
    DescribePullRequestEventsWithContext
    GetBlob
    GetBlobRequest
    GetBlobWithContext
    GetBranch
    GetBranchRequest
    GetBranchWithContext
    GetComment
    GetCommentRequest
    GetCommentWithContext
    GetCommentsForComparedCommit
    GetCommentsForComparedCommitPagesWithContext
    GetCommentsForComparedCommitRequest
    GetCommentsForComparedCommitWithContext
    GetCommentsForPullRequest
    GetCommentsForPullRequestPagesWithContext
    GetCommentsForPullRequestRequest
    GetCommentsForPullRequestWithContext
    GetCommit
    GetCommitRequest
    GetCommitWithContext
    GetDifferences
    GetDifferencesPagesWithContext
    GetDifferencesRequest
    GetDifferencesWithContext
    GetFile
    GetFileRequest
    GetFileWithContext
    GetFolder
    GetFolderRequest
    GetFolderWithContext
    GetMergeCommit
    GetMergeCommitRequest
    GetMergeCommitWithContext
    GetMergeConflicts
    GetMergeConflictsPagesWithContext
    GetMergeConflictsRequest
    GetMergeConflictsWithContext
    GetMergeOptions
    GetMergeOptionsRequest
    GetMergeOptionsWithContext
    GetPullRequest
    GetPullRequestRequest
    GetPullRequestWithContext
    GetRepository
    GetRepositoryRequest
    GetRepositoryTriggers
    GetRepositoryTriggersRequest
    GetRepositoryTriggersWithContext
    GetRepositoryWithContext
    ListBranches
    ListBranchesPagesWithContext
    ListBranchesRequest
    ListBranchesWithContext
    ListPullRequests
    ListPullRequestsPagesWithContext
    ListPullRequestsRequest
    ListPullRequestsWithContext
    ListRepositories
    ListRepositoriesPagesWithContext
    ListRepositoriesRequest
    ListRepositoriesWithContext
    ListTagsForResource
    ListTagsForResourceRequest
    ListTagsForResourceWithContext
    MergeBranchesByFastForward
    MergeBranchesByFastForwardRequest
    MergeBranchesByFastForwardWithContext
    MergeBranchesBySquash
    MergeBranchesBySquashRequest
    MergeBranchesBySquashWithContext
    MergeBranchesByThreeWay
    MergeBranchesByThreeWayRequest
    MergeBranchesByThreeWayWithContext
    MergePullRequestByFastForward
    MergePullRequestByFastForwardRequest
    MergePullRequestByFastForwardWithContext
    MergePullRequestBySquash
    MergePullRequestBySquashRequest
    MergePullRequestBySquashWithContext
    MergePullRequestByThreeWay
    MergePullRequestByThreeWayRequest
    MergePullRequestByThreeWayWithContext
    PostCommentForComparedCommit
    PostCommentForComparedCommitRequest
    PostCommentForComparedCommitWithContext
    PostCommentForPullRequest
    PostCommentForPullRequestRequest
    PostCommentForPullRequestWithContext
    PostCommentReply
    PostCommentReplyRequest
    PostCommentReplyWithContext
    PutFile
    PutFileRequest
    PutFileWithContext
    PutRepositoryTriggers
    PutRepositoryTriggersRequest
    PutRepositoryTriggersWithContext
    TagResource
    TagResourceRequest
    TagResourceWithContext
    TestRepositoryTriggers
    TestRepositoryTriggersRequest
    TestRepositoryTriggersWithContext
    UntagResource
    UntagResourceRequest
    UntagResourceWithContext
    UpdateComment
    UpdateCommentRequest
    UpdateCommentWithContext
    UpdateDefaultBranch
    UpdateDefaultBranchRequest
    UpdateDefaultBranchWithContext
    UpdatePullRequestDescription
    UpdatePullRequestDescriptionRequest
    UpdatePullRequestDescriptionWithContext
    UpdatePullRequestStatus
    UpdatePullRequestStatusRequest
    UpdatePullRequestStatusWithContext
    UpdatePullRequestTitle
    UpdatePullRequestTitleRequest
    UpdatePullRequestTitleWithContext
    UpdateRepositoryDescription
    UpdateRepositoryDescriptionRequest
    UpdateRepositoryDescriptionWithContext
    UpdateRepositoryName
    UpdateRepositoryNameRequest
    UpdateRepositoryNameWithContext

Types ▾

type BatchDescribeMergeConflictsError
func (s *BatchDescribeMergeConflictsError) SetExceptionName(v string) *BatchDescribeMergeConflictsError
func (s *BatchDescribeMergeConflictsError) SetFilePath(v string) *BatchDescribeMergeConflictsError
func (s *BatchDescribeMergeConflictsError) SetMessage(v string) *BatchDescribeMergeConflictsError
type BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetConflictDetailLevel(v string) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetConflictResolutionStrategy(v string) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetDestinationCommitSpecifier(v string) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetFilePaths(v []*string) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetMaxConflictFiles(v int64) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetMaxMergeHunks(v int64) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetMergeOption(v string) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetNextToken(v string) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetRepositoryName(v string) *BatchDescribeMergeConflictsInput
func (s *BatchDescribeMergeConflictsInput) SetSourceCommitSpecifier(v string) *BatchDescribeMergeConflictsInput
type BatchDescribeMergeConflictsOutput
func (s *BatchDescribeMergeConflictsOutput) SetBaseCommitId(v string) *BatchDescribeMergeConflictsOutput
func (s *BatchDescribeMergeConflictsOutput) SetConflicts(v []*Conflict) *BatchDescribeMergeConflictsOutput
func (s *BatchDescribeMergeConflictsOutput) SetDestinationCommitId(v string) *BatchDescribeMergeConflictsOutput
func (s *BatchDescribeMergeConflictsOutput) SetErrors(v []*BatchDescribeMergeConflictsError) *BatchDescribeMergeConflictsOutput
func (s *BatchDescribeMergeConflictsOutput) SetNextToken(v string) *BatchDescribeMergeConflictsOutput
func (s *BatchDescribeMergeConflictsOutput) SetSourceCommitId(v string) *BatchDescribeMergeConflictsOutput
type BatchGetRepositoriesInput
func (s *BatchGetRepositoriesInput) SetRepositoryNames(v []*string) *BatchGetRepositoriesInput
type BatchGetRepositoriesOutput
func (s *BatchGetRepositoriesOutput) SetRepositories(v []*RepositoryMetadata) *BatchGetRepositoriesOutput
func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *BatchGetRepositoriesOutput
type BlobMetadata
func (s *BlobMetadata) SetBlobId(v string) *BlobMetadata
func (s *BlobMetadata) SetMode(v string) *BlobMetadata
func (s *BlobMetadata) SetPath(v string) *BlobMetadata
type BranchInfo
func (s *BranchInfo) SetBranchName(v string) *BranchInfo
func (s *BranchInfo) SetCommitId(v string) *BranchInfo
type CodeCommit
type Comment
func (s *Comment) SetAuthorArn(v string) *Comment
func (s *Comment) SetClientRequestToken(v string) *Comment
func (s *Comment) SetCommentId(v string) *Comment
func (s *Comment) SetContent(v string) *Comment
func (s *Comment) SetCreationDate(v time.Time) *Comment
func (s *Comment) SetDeleted(v bool) *Comment
func (s *Comment) SetInReplyTo(v string) *Comment
func (s *Comment) SetLastModifiedDate(v time.Time) *Comment
type CommentsForComparedCommit
func (s *CommentsForComparedCommit) SetAfterBlobId(v string) *CommentsForComparedCommit
func (s *CommentsForComparedCommit) SetAfterCommitId(v string) *CommentsForComparedCommit
func (s *CommentsForComparedCommit) SetBeforeBlobId(v string) *CommentsForComparedCommit
func (s *CommentsForComparedCommit) SetBeforeCommitId(v string) *CommentsForComparedCommit
func (s *CommentsForComparedCommit) SetComments(v []*Comment) *CommentsForComparedCommit
func (s *CommentsForComparedCommit) SetLocation(v *Location) *CommentsForComparedCommit
func (s *CommentsForComparedCommit) SetRepositoryName(v string) *CommentsForComparedCommit
type CommentsForPullRequest
func (s *CommentsForPullRequest) SetAfterBlobId(v string) *CommentsForPullRequest
func (s *CommentsForPullRequest) SetAfterCommitId(v string) *CommentsForPullRequest
func (s *CommentsForPullRequest) SetBeforeBlobId(v string) *CommentsForPullRequest
func (s *CommentsForPullRequest) SetBeforeCommitId(v string) *CommentsForPullRequest
func (s *CommentsForPullRequest) SetComments(v []*Comment) *CommentsForPullRequest
func (s *CommentsForPullRequest) SetLocation(v *Location) *CommentsForPullRequest
func (s *CommentsForPullRequest) SetPullRequestId(v string) *CommentsForPullRequest
func (s *CommentsForPullRequest) SetRepositoryName(v string) *CommentsForPullRequest
type Commit
func (s *Commit) SetAdditionalData(v string) *Commit
func (s *Commit) SetAuthor(v *UserInfo) *Commit
func (s *Commit) SetCommitId(v string) *Commit
func (s *Commit) SetCommitter(v *UserInfo) *Commit
func (s *Commit) SetMessage(v string) *Commit
func (s *Commit) SetParents(v []*string) *Commit
func (s *Commit) SetTreeId(v string) *Commit
type Conflict
func (s *Conflict) SetConflictMetadata(v *ConflictMetadata) *Conflict
func (s *Conflict) SetMergeHunks(v []*MergeHunk) *Conflict
type ConflictMetadata
func (s *ConflictMetadata) SetContentConflict(v bool) *ConflictMetadata
func (s *ConflictMetadata) SetFileModeConflict(v bool) *ConflictMetadata
func (s *ConflictMetadata) SetFileModes(v *FileModes) *ConflictMetadata
func (s *ConflictMetadata) SetFilePath(v string) *ConflictMetadata
func (s *ConflictMetadata) SetFileSizes(v *FileSizes) *ConflictMetadata
func (s *ConflictMetadata) SetIsBinaryFile(v *IsBinaryFile) *ConflictMetadata
func (s *ConflictMetadata) SetMergeOperations(v *MergeOperations) *ConflictMetadata
func (s *ConflictMetadata) SetNumberOfConflicts(v int64) *ConflictMetadata
func (s *ConflictMetadata) SetObjectTypeConflict(v bool) *ConflictMetadata
func (s *ConflictMetadata) SetObjectTypes(v *ObjectTypes) *ConflictMetadata
type ConflictResolution
func (s *ConflictResolution) SetDeleteFiles(v []*DeleteFileEntry) *ConflictResolution
func (s *ConflictResolution) SetReplaceContents(v []*ReplaceContentEntry) *ConflictResolution
func (s *ConflictResolution) SetSetFileModes(v []*SetFileModeEntry) *ConflictResolution
type CreateBranchInput
func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput
func (s *CreateBranchInput) SetCommitId(v string) *CreateBranchInput
func (s *CreateBranchInput) SetRepositoryName(v string) *CreateBranchInput
type CreateBranchOutput
type CreateCommitInput
func (s *CreateCommitInput) SetAuthorName(v string) *CreateCommitInput
func (s *CreateCommitInput) SetBranchName(v string) *CreateCommitInput
func (s *CreateCommitInput) SetCommitMessage(v string) *CreateCommitInput
func (s *CreateCommitInput) SetDeleteFiles(v []*DeleteFileEntry) *CreateCommitInput
func (s *CreateCommitInput) SetEmail(v string) *CreateCommitInput
func (s *CreateCommitInput) SetKeepEmptyFolders(v bool) *CreateCommitInput
func (s *CreateCommitInput) SetParentCommitId(v string) *CreateCommitInput
func (s *CreateCommitInput) SetPutFiles(v []*PutFileEntry) *CreateCommitInput
func (s *CreateCommitInput) SetRepositoryName(v string) *CreateCommitInput
func (s *CreateCommitInput) SetSetFileModes(v []*SetFileModeEntry) *CreateCommitInput
type CreateCommitOutput
func (s *CreateCommitOutput) SetCommitId(v string) *CreateCommitOutput
func (s *CreateCommitOutput) SetFilesAdded(v []*FileMetadata) *CreateCommitOutput
func (s *CreateCommitOutput) SetFilesDeleted(v []*FileMetadata) *CreateCommitOutput
func (s *CreateCommitOutput) SetFilesUpdated(v []*FileMetadata) *CreateCommitOutput
func (s *CreateCommitOutput) SetTreeId(v string) *CreateCommitOutput
type CreatePullRequestInput
func (s *CreatePullRequestInput) SetClientRequestToken(v string) *CreatePullRequestInput
func (s *CreatePullRequestInput) SetDescription(v string) *CreatePullRequestInput
func (s *CreatePullRequestInput) SetTargets(v []*Target) *CreatePullRequestInput
func (s *CreatePullRequestInput) SetTitle(v string) *CreatePullRequestInput
type CreatePullRequestOutput
func (s *CreatePullRequestOutput) SetPullRequest(v *PullRequest) *CreatePullRequestOutput
type CreateRepositoryInput
func (s *CreateRepositoryInput) SetRepositoryDescription(v string) *CreateRepositoryInput
func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput
func (s *CreateRepositoryInput) SetTags(v map[string]*string) *CreateRepositoryInput
type CreateRepositoryOutput
func (s *CreateRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *CreateRepositoryOutput
type CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetAuthorName(v string) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetCommitMessage(v string) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetConflictDetailLevel(v string) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetConflictResolution(v *ConflictResolution) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetConflictResolutionStrategy(v string) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetDestinationCommitSpecifier(v string) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetEmail(v string) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetKeepEmptyFolders(v bool) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetMergeOption(v string) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetRepositoryName(v string) *CreateUnreferencedMergeCommitInput
func (s *CreateUnreferencedMergeCommitInput) SetSourceCommitSpecifier(v string) *CreateUnreferencedMergeCommitInput
type CreateUnreferencedMergeCommitOutput
func (s *CreateUnreferencedMergeCommitOutput) SetCommitId(v string) *CreateUnreferencedMergeCommitOutput
func (s *CreateUnreferencedMergeCommitOutput) SetTreeId(v string) *CreateUnreferencedMergeCommitOutput
type DeleteBranchInput
func (s *DeleteBranchInput) SetBranchName(v string) *DeleteBranchInput
func (s *DeleteBranchInput) SetRepositoryName(v string) *DeleteBranchInput
type DeleteBranchOutput
func (s *DeleteBranchOutput) SetDeletedBranch(v *BranchInfo) *DeleteBranchOutput
type DeleteCommentContentInput
func (s *DeleteCommentContentInput) SetCommentId(v string) *DeleteCommentContentInput
type DeleteCommentContentOutput
func (s *DeleteCommentContentOutput) SetComment(v *Comment) *DeleteCommentContentOutput
type DeleteFileEntry
func (s *DeleteFileEntry) SetFilePath(v string) *DeleteFileEntry
type DeleteFileInput
func (s *DeleteFileInput) SetBranchName(v string) *DeleteFileInput
func (s *DeleteFileInput) SetCommitMessage(v string) *DeleteFileInput
func (s *DeleteFileInput) SetEmail(v string) *DeleteFileInput
func (s *DeleteFileInput) SetFilePath(v string) *DeleteFileInput
func (s *DeleteFileInput) SetKeepEmptyFolders(v bool) *DeleteFileInput
func (s *DeleteFileInput) SetName(v string) *DeleteFileInput
func (s *DeleteFileInput) SetParentCommitId(v string) *DeleteFileInput
func (s *DeleteFileInput) SetRepositoryName(v string) *DeleteFileInput
type DeleteFileOutput
func (s *DeleteFileOutput) SetBlobId(v string) *DeleteFileOutput
func (s *DeleteFileOutput) SetCommitId(v string) *DeleteFileOutput
func (s *DeleteFileOutput) SetFilePath(v string) *DeleteFileOutput
func (s *DeleteFileOutput) SetTreeId(v string) *DeleteFileOutput
type DeleteRepositoryInput
func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput
type DeleteRepositoryOutput
func (s *DeleteRepositoryOutput) SetRepositoryId(v string) *DeleteRepositoryOutput
type DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetConflictDetailLevel(v string) *DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetConflictResolutionStrategy(v string) *DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetDestinationCommitSpecifier(v string) *DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetFilePath(v string) *DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetMaxMergeHunks(v int64) *DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetMergeOption(v string) *DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetNextToken(v string) *DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetRepositoryName(v string) *DescribeMergeConflictsInput
func (s *DescribeMergeConflictsInput) SetSourceCommitSpecifier(v string) *DescribeMergeConflictsInput
type DescribeMergeConflictsOutput
func (s *DescribeMergeConflictsOutput) SetBaseCommitId(v string) *DescribeMergeConflictsOutput
func (s *DescribeMergeConflictsOutput) SetConflictMetadata(v *ConflictMetadata) *DescribeMergeConflictsOutput
func (s *DescribeMergeConflictsOutput) SetDestinationCommitId(v string) *DescribeMergeConflictsOutput
func (s *DescribeMergeConflictsOutput) SetMergeHunks(v []*MergeHunk) *DescribeMergeConflictsOutput
func (s *DescribeMergeConflictsOutput) SetNextToken(v string) *DescribeMergeConflictsOutput
func (s *DescribeMergeConflictsOutput) SetSourceCommitId(v string) *DescribeMergeConflictsOutput
type DescribePullRequestEventsInput
func (s *DescribePullRequestEventsInput) SetActorArn(v string) *DescribePullRequestEventsInput
func (s *DescribePullRequestEventsInput) SetMaxResults(v int64) *DescribePullRequestEventsInput
func (s *DescribePullRequestEventsInput) SetNextToken(v string) *DescribePullRequestEventsInput
func (s *DescribePullRequestEventsInput) SetPullRequestEventType(v string) *DescribePullRequestEventsInput
func (s *DescribePullRequestEventsInput) SetPullRequestId(v string) *DescribePullRequestEventsInput
type DescribePullRequestEventsOutput
func (s *DescribePullRequestEventsOutput) SetNextToken(v string) *DescribePullRequestEventsOutput
func (s *DescribePullRequestEventsOutput) SetPullRequestEvents(v []*PullRequestEvent) *DescribePullRequestEventsOutput
type Difference
func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference
func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference
func (s *Difference) SetChangeType(v string) *Difference
type File
func (s *File) SetAbsolutePath(v string) *File
func (s *File) SetBlobId(v string) *File
func (s *File) SetFileMode(v string) *File
func (s *File) SetRelativePath(v string) *File
type FileMetadata
func (s *FileMetadata) SetAbsolutePath(v string) *FileMetadata
func (s *FileMetadata) SetBlobId(v string) *FileMetadata
func (s *FileMetadata) SetFileMode(v string) *FileMetadata
type FileModes
func (s *FileModes) SetBase(v string) *FileModes
func (s *FileModes) SetDestination(v string) *FileModes
func (s *FileModes) SetSource(v string) *FileModes
type FileSizes
func (s *FileSizes) SetBase(v int64) *FileSizes
func (s *FileSizes) SetDestination(v int64) *FileSizes
func (s *FileSizes) SetSource(v int64) *FileSizes
type Folder
func (s *Folder) SetAbsolutePath(v string) *Folder
func (s *Folder) SetRelativePath(v string) *Folder
func (s *Folder) SetTreeId(v string) *Folder
type GetBlobInput
func (s *GetBlobInput) SetBlobId(v string) *GetBlobInput
func (s *GetBlobInput) SetRepositoryName(v string) *GetBlobInput
type GetBlobOutput
func (s *GetBlobOutput) SetContent(v []byte) *GetBlobOutput
type GetBranchInput
func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput
func (s *GetBranchInput) SetRepositoryName(v string) *GetBranchInput
type GetBranchOutput
func (s *GetBranchOutput) SetBranch(v *BranchInfo) *GetBranchOutput
type GetCommentInput
func (s *GetCommentInput) SetCommentId(v string) *GetCommentInput
type GetCommentOutput
func (s *GetCommentOutput) SetComment(v *Comment) *GetCommentOutput
type GetCommentsForComparedCommitInput
func (s *GetCommentsForComparedCommitInput) SetAfterCommitId(v string) *GetCommentsForComparedCommitInput
func (s *GetCommentsForComparedCommitInput) SetBeforeCommitId(v string) *GetCommentsForComparedCommitInput
func (s *GetCommentsForComparedCommitInput) SetMaxResults(v int64) *GetCommentsForComparedCommitInput
func (s *GetCommentsForComparedCommitInput) SetNextToken(v string) *GetCommentsForComparedCommitInput
func (s *GetCommentsForComparedCommitInput) SetRepositoryName(v string) *GetCommentsForComparedCommitInput
type GetCommentsForComparedCommitOutput
func (s *GetCommentsForComparedCommitOutput) SetCommentsForComparedCommitData(v []*CommentsForComparedCommit) *GetCommentsForComparedCommitOutput
func (s *GetCommentsForComparedCommitOutput) SetNextToken(v string) *GetCommentsForComparedCommitOutput
type GetCommentsForPullRequestInput
func (s *GetCommentsForPullRequestInput) SetAfterCommitId(v string) *GetCommentsForPullRequestInput
func (s *GetCommentsForPullRequestInput) SetBeforeCommitId(v string) *GetCommentsForPullRequestInput
func (s *GetCommentsForPullRequestInput) SetMaxResults(v int64) *GetCommentsForPullRequestInput
func (s *GetCommentsForPullRequestInput) SetNextToken(v string) *GetCommentsForPullRequestInput
func (s *GetCommentsForPullRequestInput) SetPullRequestId(v string) *GetCommentsForPullRequestInput
func (s *GetCommentsForPullRequestInput) SetRepositoryName(v string) *GetCommentsForPullRequestInput
type GetCommentsForPullRequestOutput
func (s *GetCommentsForPullRequestOutput) SetCommentsForPullRequestData(v []*CommentsForPullRequest) *GetCommentsForPullRequestOutput
func (s *GetCommentsForPullRequestOutput) SetNextToken(v string) *GetCommentsForPullRequestOutput
type GetCommitInput
func (s *GetCommitInput) SetCommitId(v string) *GetCommitInput
func (s *GetCommitInput) SetRepositoryName(v string) *GetCommitInput
type GetCommitOutput
func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput
type GetDifferencesInput
func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput
func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput
func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput
func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput
func (s *GetDifferencesInput) SetMaxResults(v int64) *GetDifferencesInput
func (s *GetDifferencesInput) SetNextToken(v string) *GetDifferencesInput
func (s *GetDifferencesInput) SetRepositoryName(v string) *GetDifferencesInput
type GetDifferencesOutput
func (s *GetDifferencesOutput) SetDifferences(v []*Difference) *GetDifferencesOutput
func (s *GetDifferencesOutput) SetNextToken(v string) *GetDifferencesOutput
type GetFileInput
func (s *GetFileInput) SetCommitSpecifier(v string) *GetFileInput
func (s *GetFileInput) SetFilePath(v string) *GetFileInput
func (s *GetFileInput) SetRepositoryName(v string) *GetFileInput
type GetFileOutput
func (s *GetFileOutput) SetBlobId(v string) *GetFileOutput
func (s *GetFileOutput) SetCommitId(v string) *GetFileOutput
func (s *GetFileOutput) SetFileContent(v []byte) *GetFileOutput
func (s *GetFileOutput) SetFileMode(v string) *GetFileOutput
func (s *GetFileOutput) SetFilePath(v string) *GetFileOutput
func (s *GetFileOutput) SetFileSize(v int64) *GetFileOutput
type GetFolderInput
func (s *GetFolderInput) SetCommitSpecifier(v string) *GetFolderInput
func (s *GetFolderInput) SetFolderPath(v string) *GetFolderInput
func (s *GetFolderInput) SetRepositoryName(v string) *GetFolderInput
type GetFolderOutput
func (s *GetFolderOutput) SetCommitId(v string) *GetFolderOutput
func (s *GetFolderOutput) SetFiles(v []*File) *GetFolderOutput
func (s *GetFolderOutput) SetFolderPath(v string) *GetFolderOutput
func (s *GetFolderOutput) SetSubFolders(v []*Folder) *GetFolderOutput
func (s *GetFolderOutput) SetSubModules(v []*SubModule) *GetFolderOutput
func (s *GetFolderOutput) SetSymbolicLinks(v []*SymbolicLink) *GetFolderOutput
func (s *GetFolderOutput) SetTreeId(v string) *GetFolderOutput
type GetMergeCommitInput
func (s *GetMergeCommitInput) SetConflictDetailLevel(v string) *GetMergeCommitInput
func (s *GetMergeCommitInput) SetConflictResolutionStrategy(v string) *GetMergeCommitInput
func (s *GetMergeCommitInput) SetDestinationCommitSpecifier(v string) *GetMergeCommitInput
func (s *GetMergeCommitInput) SetRepositoryName(v string) *GetMergeCommitInput
func (s *GetMergeCommitInput) SetSourceCommitSpecifier(v string) *GetMergeCommitInput
type GetMergeCommitOutput
func (s *GetMergeCommitOutput) SetBaseCommitId(v string) *GetMergeCommitOutput
func (s *GetMergeCommitOutput) SetDestinationCommitId(v string) *GetMergeCommitOutput
func (s *GetMergeCommitOutput) SetMergedCommitId(v string) *GetMergeCommitOutput
func (s *GetMergeCommitOutput) SetSourceCommitId(v string) *GetMergeCommitOutput
type GetMergeConflictsInput
func (s *GetMergeConflictsInput) SetConflictDetailLevel(v string) *GetMergeConflictsInput
func (s *GetMergeConflictsInput) SetConflictResolutionStrategy(v string) *GetMergeConflictsInput
func (s *GetMergeConflictsInput) SetDestinationCommitSpecifier(v string) *GetMergeConflictsInput
func (s *GetMergeConflictsInput) SetMaxConflictFiles(v int64) *GetMergeConflictsInput
func (s *GetMergeConflictsInput) SetMergeOption(v string) *GetMergeConflictsInput
func (s *GetMergeConflictsInput) SetNextToken(v string) *GetMergeConflictsInput
func (s *GetMergeConflictsInput) SetRepositoryName(v string) *GetMergeConflictsInput
func (s *GetMergeConflictsInput) SetSourceCommitSpecifier(v string) *GetMergeConflictsInput
type GetMergeConflictsOutput
func (s *GetMergeConflictsOutput) SetBaseCommitId(v string) *GetMergeConflictsOutput
func (s *GetMergeConflictsOutput) SetConflictMetadataList(v []*ConflictMetadata) *GetMergeConflictsOutput
func (s *GetMergeConflictsOutput) SetDestinationCommitId(v string) *GetMergeConflictsOutput
func (s *GetMergeConflictsOutput) SetMergeable(v bool) *GetMergeConflictsOutput
func (s *GetMergeConflictsOutput) SetNextToken(v string) *GetMergeConflictsOutput
func (s *GetMergeConflictsOutput) SetSourceCommitId(v string) *GetMergeConflictsOutput
type GetMergeOptionsInput
func (s *GetMergeOptionsInput) SetConflictDetailLevel(v string) *GetMergeOptionsInput
func (s *GetMergeOptionsInput) SetConflictResolutionStrategy(v string) *GetMergeOptionsInput
func (s *GetMergeOptionsInput) SetDestinationCommitSpecifier(v string) *GetMergeOptionsInput
func (s *GetMergeOptionsInput) SetRepositoryName(v string) *GetMergeOptionsInput
func (s *GetMergeOptionsInput) SetSourceCommitSpecifier(v string) *GetMergeOptionsInput
type GetMergeOptionsOutput
func (s *GetMergeOptionsOutput) SetBaseCommitId(v string) *GetMergeOptionsOutput
func (s *GetMergeOptionsOutput) SetDestinationCommitId(v string) *GetMergeOptionsOutput
func (s *GetMergeOptionsOutput) SetMergeOptions(v []*string) *GetMergeOptionsOutput
func (s *GetMergeOptionsOutput) SetSourceCommitId(v string) *GetMergeOptionsOutput
type GetPullRequestInput
func (s *GetPullRequestInput) SetPullRequestId(v string) *GetPullRequestInput
type GetPullRequestOutput
func (s *GetPullRequestOutput) SetPullRequest(v *PullRequest) *GetPullRequestOutput
type GetRepositoryInput
func (s *GetRepositoryInput) SetRepositoryName(v string) *GetRepositoryInput
type GetRepositoryOutput
func (s *GetRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *GetRepositoryOutput
type GetRepositoryTriggersInput
func (s *GetRepositoryTriggersInput) SetRepositoryName(v string) *GetRepositoryTriggersInput
type GetRepositoryTriggersOutput
func (s *GetRepositoryTriggersOutput) SetConfigurationId(v string) *GetRepositoryTriggersOutput
func (s *GetRepositoryTriggersOutput) SetTriggers(v []*RepositoryTrigger) *GetRepositoryTriggersOutput
type IsBinaryFile
func (s *IsBinaryFile) SetBase(v bool) *IsBinaryFile
func (s *IsBinaryFile) SetDestination(v bool) *IsBinaryFile
func (s *IsBinaryFile) SetSource(v bool) *IsBinaryFile
type ListBranchesInput
func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput
func (s *ListBranchesInput) SetRepositoryName(v string) *ListBranchesInput
type ListBranchesOutput
func (s *ListBranchesOutput) SetBranches(v []*string) *ListBranchesOutput
func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput
type ListPullRequestsInput
func (s *ListPullRequestsInput) SetAuthorArn(v string) *ListPullRequestsInput
func (s *ListPullRequestsInput) SetMaxResults(v int64) *ListPullRequestsInput
func (s *ListPullRequestsInput) SetNextToken(v string) *ListPullRequestsInput
func (s *ListPullRequestsInput) SetPullRequestStatus(v string) *ListPullRequestsInput
func (s *ListPullRequestsInput) SetRepositoryName(v string) *ListPullRequestsInput
type ListPullRequestsOutput
func (s *ListPullRequestsOutput) SetNextToken(v string) *ListPullRequestsOutput
func (s *ListPullRequestsOutput) SetPullRequestIds(v []*string) *ListPullRequestsOutput
type ListRepositoriesInput
func (s *ListRepositoriesInput) SetNextToken(v string) *ListRepositoriesInput
func (s *ListRepositoriesInput) SetOrder(v string) *ListRepositoriesInput
func (s *ListRepositoriesInput) SetSortBy(v string) *ListRepositoriesInput
type ListRepositoriesOutput
func (s *ListRepositoriesOutput) SetNextToken(v string) *ListRepositoriesOutput
func (s *ListRepositoriesOutput) SetRepositories(v []*RepositoryNameIdPair) *ListRepositoriesOutput
type ListTagsForResourceInput
func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
type ListTagsForResourceOutput
func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
type Location
func (s *Location) SetFilePath(v string) *Location
func (s *Location) SetFilePosition(v int64) *Location
func (s *Location) SetRelativeFileVersion(v string) *Location
type MergeBranchesByFastForwardInput
func (s *MergeBranchesByFastForwardInput) SetDestinationCommitSpecifier(v string) *MergeBranchesByFastForwardInput
func (s *MergeBranchesByFastForwardInput) SetRepositoryName(v string) *MergeBranchesByFastForwardInput
func (s *MergeBranchesByFastForwardInput) SetSourceCommitSpecifier(v string) *MergeBranchesByFastForwardInput
func (s *MergeBranchesByFastForwardInput) SetTargetBranch(v string) *MergeBranchesByFastForwardInput
type MergeBranchesByFastForwardOutput
func (s *MergeBranchesByFastForwardOutput) SetCommitId(v string) *MergeBranchesByFastForwardOutput
func (s *MergeBranchesByFastForwardOutput) SetTreeId(v string) *MergeBranchesByFastForwardOutput
type MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetAuthorName(v string) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetCommitMessage(v string) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetConflictDetailLevel(v string) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetConflictResolution(v *ConflictResolution) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetConflictResolutionStrategy(v string) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetDestinationCommitSpecifier(v string) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetEmail(v string) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetKeepEmptyFolders(v bool) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetRepositoryName(v string) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetSourceCommitSpecifier(v string) *MergeBranchesBySquashInput
func (s *MergeBranchesBySquashInput) SetTargetBranch(v string) *MergeBranchesBySquashInput
type MergeBranchesBySquashOutput
func (s *MergeBranchesBySquashOutput) SetCommitId(v string) *MergeBranchesBySquashOutput
func (s *MergeBranchesBySquashOutput) SetTreeId(v string) *MergeBranchesBySquashOutput
type MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetAuthorName(v string) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetCommitMessage(v string) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetConflictDetailLevel(v string) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetConflictResolution(v *ConflictResolution) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetConflictResolutionStrategy(v string) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetDestinationCommitSpecifier(v string) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetEmail(v string) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetKeepEmptyFolders(v bool) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetRepositoryName(v string) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetSourceCommitSpecifier(v string) *MergeBranchesByThreeWayInput
func (s *MergeBranchesByThreeWayInput) SetTargetBranch(v string) *MergeBranchesByThreeWayInput
type MergeBranchesByThreeWayOutput
func (s *MergeBranchesByThreeWayOutput) SetCommitId(v string) *MergeBranchesByThreeWayOutput
func (s *MergeBranchesByThreeWayOutput) SetTreeId(v string) *MergeBranchesByThreeWayOutput
type MergeHunk
func (s *MergeHunk) SetBase(v *MergeHunkDetail) *MergeHunk
func (s *MergeHunk) SetDestination(v *MergeHunkDetail) *MergeHunk
func (s *MergeHunk) SetIsConflict(v bool) *MergeHunk
func (s *MergeHunk) SetSource(v *MergeHunkDetail) *MergeHunk
type MergeHunkDetail
func (s *MergeHunkDetail) SetEndLine(v int64) *MergeHunkDetail
func (s *MergeHunkDetail) SetHunkContent(v string) *MergeHunkDetail
func (s *MergeHunkDetail) SetStartLine(v int64) *MergeHunkDetail
type MergeMetadata
func (s *MergeMetadata) SetIsMerged(v bool) *MergeMetadata
func (s *MergeMetadata) SetMergeCommitId(v string) *MergeMetadata
func (s *MergeMetadata) SetMergeOption(v string) *MergeMetadata
func (s *MergeMetadata) SetMergedBy(v string) *MergeMetadata
type MergeOperations
func (s *MergeOperations) SetDestination(v string) *MergeOperations
func (s *MergeOperations) SetSource(v string) *MergeOperations
type MergePullRequestByFastForwardInput
func (s *MergePullRequestByFastForwardInput) SetPullRequestId(v string) *MergePullRequestByFastForwardInput
func (s *MergePullRequestByFastForwardInput) SetRepositoryName(v string) *MergePullRequestByFastForwardInput
func (s *MergePullRequestByFastForwardInput) SetSourceCommitId(v string) *MergePullRequestByFastForwardInput
type MergePullRequestByFastForwardOutput
func (s *MergePullRequestByFastForwardOutput) SetPullRequest(v *PullRequest) *MergePullRequestByFastForwardOutput
type MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetAuthorName(v string) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetCommitMessage(v string) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetConflictDetailLevel(v string) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetConflictResolution(v *ConflictResolution) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetConflictResolutionStrategy(v string) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetEmail(v string) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetKeepEmptyFolders(v bool) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetPullRequestId(v string) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetRepositoryName(v string) *MergePullRequestBySquashInput
func (s *MergePullRequestBySquashInput) SetSourceCommitId(v string) *MergePullRequestBySquashInput
type MergePullRequestBySquashOutput
func (s *MergePullRequestBySquashOutput) SetPullRequest(v *PullRequest) *MergePullRequestBySquashOutput
type MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetAuthorName(v string) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetCommitMessage(v string) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetConflictDetailLevel(v string) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetConflictResolution(v *ConflictResolution) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetConflictResolutionStrategy(v string) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetEmail(v string) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetKeepEmptyFolders(v bool) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetPullRequestId(v string) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetRepositoryName(v string) *MergePullRequestByThreeWayInput
func (s *MergePullRequestByThreeWayInput) SetSourceCommitId(v string) *MergePullRequestByThreeWayInput
type MergePullRequestByThreeWayOutput
func (s *MergePullRequestByThreeWayOutput) SetPullRequest(v *PullRequest) *MergePullRequestByThreeWayOutput
type ObjectTypes
func (s *ObjectTypes) SetBase(v string) *ObjectTypes
func (s *ObjectTypes) SetDestination(v string) *ObjectTypes
func (s *ObjectTypes) SetSource(v string) *ObjectTypes
type PostCommentForComparedCommitInput
func (s *PostCommentForComparedCommitInput) SetAfterCommitId(v string) *PostCommentForComparedCommitInput
func (s *PostCommentForComparedCommitInput) SetBeforeCommitId(v string) *PostCommentForComparedCommitInput
func (s *PostCommentForComparedCommitInput) SetClientRequestToken(v string) *PostCommentForComparedCommitInput
func (s *PostCommentForComparedCommitInput) SetContent(v string) *PostCommentForComparedCommitInput
func (s *PostCommentForComparedCommitInput) SetLocation(v *Location) *PostCommentForComparedCommitInput
func (s *PostCommentForComparedCommitInput) SetRepositoryName(v string) *PostCommentForComparedCommitInput
type PostCommentForComparedCommitOutput
func (s *PostCommentForComparedCommitOutput) SetAfterBlobId(v string) *PostCommentForComparedCommitOutput
func (s *PostCommentForComparedCommitOutput) SetAfterCommitId(v string) *PostCommentForComparedCommitOutput
func (s *PostCommentForComparedCommitOutput) SetBeforeBlobId(v string) *PostCommentForComparedCommitOutput
func (s *PostCommentForComparedCommitOutput) SetBeforeCommitId(v string) *PostCommentForComparedCommitOutput
func (s *PostCommentForComparedCommitOutput) SetComment(v *Comment) *PostCommentForComparedCommitOutput
func (s *PostCommentForComparedCommitOutput) SetLocation(v *Location) *PostCommentForComparedCommitOutput
func (s *PostCommentForComparedCommitOutput) SetRepositoryName(v string) *PostCommentForComparedCommitOutput
type PostCommentForPullRequestInput
func (s *PostCommentForPullRequestInput) SetAfterCommitId(v string) *PostCommentForPullRequestInput
func (s *PostCommentForPullRequestInput) SetBeforeCommitId(v string) *PostCommentForPullRequestInput
func (s *PostCommentForPullRequestInput) SetClientRequestToken(v string) *PostCommentForPullRequestInput
func (s *PostCommentForPullRequestInput) SetContent(v string) *PostCommentForPullRequestInput
func (s *PostCommentForPullRequestInput) SetLocation(v *Location) *PostCommentForPullRequestInput
func (s *PostCommentForPullRequestInput) SetPullRequestId(v string) *PostCommentForPullRequestInput
func (s *PostCommentForPullRequestInput) SetRepositoryName(v string) *PostCommentForPullRequestInput
type PostCommentForPullRequestOutput
func (s *PostCommentForPullRequestOutput) SetAfterBlobId(v string) *PostCommentForPullRequestOutput
func (s *PostCommentForPullRequestOutput) SetAfterCommitId(v string) *PostCommentForPullRequestOutput
func (s *PostCommentForPullRequestOutput) SetBeforeBlobId(v string) *PostCommentForPullRequestOutput
func (s *PostCommentForPullRequestOutput) SetBeforeCommitId(v string) *PostCommentForPullRequestOutput
func (s *PostCommentForPullRequestOutput) SetComment(v *Comment) *PostCommentForPullRequestOutput
func (s *PostCommentForPullRequestOutput) SetLocation(v *Location) *PostCommentForPullRequestOutput
func (s *PostCommentForPullRequestOutput) SetPullRequestId(v string) *PostCommentForPullRequestOutput
func (s *PostCommentForPullRequestOutput) SetRepositoryName(v string) *PostCommentForPullRequestOutput
type PostCommentReplyInput
func (s *PostCommentReplyInput) SetClientRequestToken(v string) *PostCommentReplyInput
func (s *PostCommentReplyInput) SetContent(v string) *PostCommentReplyInput
func (s *PostCommentReplyInput) SetInReplyTo(v string) *PostCommentReplyInput
type PostCommentReplyOutput
func (s *PostCommentReplyOutput) SetComment(v *Comment) *PostCommentReplyOutput
type PullRequest
func (s *PullRequest) SetAuthorArn(v string) *PullRequest
func (s *PullRequest) SetClientRequestToken(v string) *PullRequest
func (s *PullRequest) SetCreationDate(v time.Time) *PullRequest
func (s *PullRequest) SetDescription(v string) *PullRequest
func (s *PullRequest) SetLastActivityDate(v time.Time) *PullRequest
func (s *PullRequest) SetPullRequestId(v string) *PullRequest
func (s *PullRequest) SetPullRequestStatus(v string) *PullRequest
func (s *PullRequest) SetPullRequestTargets(v []*PullRequestTarget) *PullRequest
func (s *PullRequest) SetTitle(v string) *PullRequest
type PullRequestCreatedEventMetadata
func (s *PullRequestCreatedEventMetadata) SetDestinationCommitId(v string) *PullRequestCreatedEventMetadata
func (s *PullRequestCreatedEventMetadata) SetMergeBase(v string) *PullRequestCreatedEventMetadata
func (s *PullRequestCreatedEventMetadata) SetRepositoryName(v string) *PullRequestCreatedEventMetadata
func (s *PullRequestCreatedEventMetadata) SetSourceCommitId(v string) *PullRequestCreatedEventMetadata
type PullRequestEvent
func (s *PullRequestEvent) SetActorArn(v string) *PullRequestEvent
func (s *PullRequestEvent) SetEventDate(v time.Time) *PullRequestEvent
func (s *PullRequestEvent) SetPullRequestCreatedEventMetadata(v *PullRequestCreatedEventMetadata) *PullRequestEvent
func (s *PullRequestEvent) SetPullRequestEventType(v string) *PullRequestEvent
func (s *PullRequestEvent) SetPullRequestId(v string) *PullRequestEvent
func (s *PullRequestEvent) SetPullRequestMergedStateChangedEventMetadata(v *PullRequestMergedStateChangedEventMetadata) *PullRequestEvent
func (s *PullRequestEvent) SetPullRequestSourceReferenceUpdatedEventMetadata(v *PullRequestSourceReferenceUpdatedEventMetadata) *PullRequestEvent
func (s *PullRequestEvent) SetPullRequestStatusChangedEventMetadata(v *PullRequestStatusChangedEventMetadata) *PullRequestEvent
type PullRequestMergedStateChangedEventMetadata
func (s *PullRequestMergedStateChangedEventMetadata) SetDestinationReference(v string) *PullRequestMergedStateChangedEventMetadata
func (s *PullRequestMergedStateChangedEventMetadata) SetMergeMetadata(v *MergeMetadata) *PullRequestMergedStateChangedEventMetadata
func (s *PullRequestMergedStateChangedEventMetadata) SetRepositoryName(v string) *PullRequestMergedStateChangedEventMetadata
type PullRequestSourceReferenceUpdatedEventMetadata
func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetAfterCommitId(v string) *PullRequestSourceReferenceUpdatedEventMetadata
func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetBeforeCommitId(v string) *PullRequestSourceReferenceUpdatedEventMetadata
func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetMergeBase(v string) *PullRequestSourceReferenceUpdatedEventMetadata
func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetRepositoryName(v string) *PullRequestSourceReferenceUpdatedEventMetadata
type PullRequestStatusChangedEventMetadata
func (s *PullRequestStatusChangedEventMetadata) SetPullRequestStatus(v string) *PullRequestStatusChangedEventMetadata
type PullRequestTarget
func (s *PullRequestTarget) SetDestinationCommit(v string) *PullRequestTarget
func (s *PullRequestTarget) SetDestinationReference(v string) *PullRequestTarget
func (s *PullRequestTarget) SetMergeBase(v string) *PullRequestTarget
func (s *PullRequestTarget) SetMergeMetadata(v *MergeMetadata) *PullRequestTarget
func (s *PullRequestTarget) SetRepositoryName(v string) *PullRequestTarget
func (s *PullRequestTarget) SetSourceCommit(v string) *PullRequestTarget
func (s *PullRequestTarget) SetSourceReference(v string) *PullRequestTarget
type PutFileEntry
func (s *PutFileEntry) SetFileContent(v []byte) *PutFileEntry
func (s *PutFileEntry) SetFileMode(v string) *PutFileEntry
func (s *PutFileEntry) SetFilePath(v string) *PutFileEntry
func (s *PutFileEntry) SetSourceFile(v *SourceFileSpecifier) *PutFileEntry
type PutFileInput
func (s *PutFileInput) SetBranchName(v string) *PutFileInput
func (s *PutFileInput) SetCommitMessage(v string) *PutFileInput
func (s *PutFileInput) SetEmail(v string) *PutFileInput
func (s *PutFileInput) SetFileContent(v []byte) *PutFileInput
func (s *PutFileInput) SetFileMode(v string) *PutFileInput
func (s *PutFileInput) SetFilePath(v string) *PutFileInput
func (s *PutFileInput) SetName(v string) *PutFileInput
func (s *PutFileInput) SetParentCommitId(v string) *PutFileInput
func (s *PutFileInput) SetRepositoryName(v string) *PutFileInput
type PutFileOutput
func (s *PutFileOutput) SetBlobId(v string) *PutFileOutput
func (s *PutFileOutput) SetCommitId(v string) *PutFileOutput
func (s *PutFileOutput) SetTreeId(v string) *PutFileOutput
type PutRepositoryTriggersInput
func (s *PutRepositoryTriggersInput) SetRepositoryName(v string) *PutRepositoryTriggersInput
func (s *PutRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *PutRepositoryTriggersInput
type PutRepositoryTriggersOutput
func (s *PutRepositoryTriggersOutput) SetConfigurationId(v string) *PutRepositoryTriggersOutput
type ReplaceContentEntry
func (s *ReplaceContentEntry) SetContent(v []byte) *ReplaceContentEntry
func (s *ReplaceContentEntry) SetFileMode(v string) *ReplaceContentEntry
func (s *ReplaceContentEntry) SetFilePath(v string) *ReplaceContentEntry
func (s *ReplaceContentEntry) SetReplacementType(v string) *ReplaceContentEntry
type RepositoryMetadata
func (s *RepositoryMetadata) SetAccountId(v string) *RepositoryMetadata
func (s *RepositoryMetadata) SetArn(v string) *RepositoryMetadata
func (s *RepositoryMetadata) SetCloneUrlHttp(v string) *RepositoryMetadata
func (s *RepositoryMetadata) SetCloneUrlSsh(v string) *RepositoryMetadata
func (s *RepositoryMetadata) SetCreationDate(v time.Time) *RepositoryMetadata
func (s *RepositoryMetadata) SetDefaultBranch(v string) *RepositoryMetadata
func (s *RepositoryMetadata) SetLastModifiedDate(v time.Time) *RepositoryMetadata
func (s *RepositoryMetadata) SetRepositoryDescription(v string) *RepositoryMetadata
func (s *RepositoryMetadata) SetRepositoryId(v string) *RepositoryMetadata
func (s *RepositoryMetadata) SetRepositoryName(v string) *RepositoryMetadata
type RepositoryNameIdPair
func (s *RepositoryNameIdPair) SetRepositoryId(v string) *RepositoryNameIdPair
func (s *RepositoryNameIdPair) SetRepositoryName(v string) *RepositoryNameIdPair
type RepositoryTrigger
func (s *RepositoryTrigger) SetBranches(v []*string) *RepositoryTrigger
func (s *RepositoryTrigger) SetCustomData(v string) *RepositoryTrigger
func (s *RepositoryTrigger) SetDestinationArn(v string) *RepositoryTrigger
func (s *RepositoryTrigger) SetEvents(v []*string) *RepositoryTrigger
func (s *RepositoryTrigger) SetName(v string) *RepositoryTrigger
type RepositoryTriggerExecutionFailure
func (s *RepositoryTriggerExecutionFailure) SetFailureMessage(v string) *RepositoryTriggerExecutionFailure
func (s *RepositoryTriggerExecutionFailure) SetTrigger(v string) *RepositoryTriggerExecutionFailure
type SetFileModeEntry
func (s *SetFileModeEntry) SetFileMode(v string) *SetFileModeEntry
func (s *SetFileModeEntry) SetFilePath(v string) *SetFileModeEntry
type SourceFileSpecifier
func (s *SourceFileSpecifier) SetFilePath(v string) *SourceFileSpecifier
func (s *SourceFileSpecifier) SetIsMove(v bool) *SourceFileSpecifier
type SubModule
func (s *SubModule) SetAbsolutePath(v string) *SubModule
func (s *SubModule) SetCommitId(v string) *SubModule
func (s *SubModule) SetRelativePath(v string) *SubModule
type SymbolicLink
func (s *SymbolicLink) SetAbsolutePath(v string) *SymbolicLink
func (s *SymbolicLink) SetBlobId(v string) *SymbolicLink
func (s *SymbolicLink) SetFileMode(v string) *SymbolicLink
func (s *SymbolicLink) SetRelativePath(v string) *SymbolicLink
type TagResourceInput
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
type TagResourceOutput
type Target
func (s *Target) SetDestinationReference(v string) *Target
func (s *Target) SetRepositoryName(v string) *Target
func (s *Target) SetSourceReference(v string) *Target
type TestRepositoryTriggersInput
func (s *TestRepositoryTriggersInput) SetRepositoryName(v string) *TestRepositoryTriggersInput
func (s *TestRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *TestRepositoryTriggersInput
type TestRepositoryTriggersOutput
func (s *TestRepositoryTriggersOutput) SetFailedExecutions(v []*RepositoryTriggerExecutionFailure) *TestRepositoryTriggersOutput
func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []*string) *TestRepositoryTriggersOutput
type UntagResourceInput
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
type UntagResourceOutput
type UpdateCommentInput
func (s *UpdateCommentInput) SetCommentId(v string) *UpdateCommentInput
func (s *UpdateCommentInput) SetContent(v string) *UpdateCommentInput
type UpdateCommentOutput
func (s *UpdateCommentOutput) SetComment(v *Comment) *UpdateCommentOutput
type UpdateDefaultBranchInput
func (s *UpdateDefaultBranchInput) SetDefaultBranchName(v string) *UpdateDefaultBranchInput
func (s *UpdateDefaultBranchInput) SetRepositoryName(v string) *UpdateDefaultBranchInput
type UpdateDefaultBranchOutput
type UpdatePullRequestDescriptionInput
func (s *UpdatePullRequestDescriptionInput) SetDescription(v string) *UpdatePullRequestDescriptionInput
func (s *UpdatePullRequestDescriptionInput) SetPullRequestId(v string) *UpdatePullRequestDescriptionInput
type UpdatePullRequestDescriptionOutput
func (s *UpdatePullRequestDescriptionOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestDescriptionOutput
type UpdatePullRequestStatusInput
func (s *UpdatePullRequestStatusInput) SetPullRequestId(v string) *UpdatePullRequestStatusInput
func (s *UpdatePullRequestStatusInput) SetPullRequestStatus(v string) *UpdatePullRequestStatusInput
type UpdatePullRequestStatusOutput
func (s *UpdatePullRequestStatusOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestStatusOutput
type UpdatePullRequestTitleInput
func (s *UpdatePullRequestTitleInput) SetPullRequestId(v string) *UpdatePullRequestTitleInput
func (s *UpdatePullRequestTitleInput) SetTitle(v string) *UpdatePullRequestTitleInput
type UpdatePullRequestTitleOutput
func (s *UpdatePullRequestTitleOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestTitleOutput
type UpdateRepositoryDescriptionInput
func (s *UpdateRepositoryDescriptionInput) SetRepositoryDescription(v string) *UpdateRepositoryDescriptionInput
func (s *UpdateRepositoryDescriptionInput) SetRepositoryName(v string) *UpdateRepositoryDescriptionInput
type UpdateRepositoryDescriptionOutput
type UpdateRepositoryNameInput
func (s *UpdateRepositoryNameInput) SetNewName(v string) *UpdateRepositoryNameInput
func (s *UpdateRepositoryNameInput) SetOldName(v string) *UpdateRepositoryNameInput
type UpdateRepositoryNameOutput
type UserInfo
func (s *UserInfo) SetDate(v string) *UserInfo
func (s *UserInfo) SetEmail(v string) *UserInfo
func (s *UserInfo) SetName(v string) *UserInfo

Constants ▾

const (
    // ChangeTypeEnumA is a ChangeTypeEnum enum value
    ChangeTypeEnumA = "A"

    // ChangeTypeEnumM is a ChangeTypeEnum enum value
    ChangeTypeEnumM = "M"

    // ChangeTypeEnumD is a ChangeTypeEnum enum value
    ChangeTypeEnumD = "D"
)
const (
    // ConflictDetailLevelTypeEnumFileLevel is a ConflictDetailLevelTypeEnum enum value
    ConflictDetailLevelTypeEnumFileLevel = "FILE_LEVEL"

    // ConflictDetailLevelTypeEnumLineLevel is a ConflictDetailLevelTypeEnum enum value
    ConflictDetailLevelTypeEnumLineLevel = "LINE_LEVEL"
)
const (
    // ConflictResolutionStrategyTypeEnumNone is a ConflictResolutionStrategyTypeEnum enum value
    ConflictResolutionStrategyTypeEnumNone = "NONE"

    // ConflictResolutionStrategyTypeEnumAcceptSource is a ConflictResolutionStrategyTypeEnum enum value
    ConflictResolutionStrategyTypeEnumAcceptSource = "ACCEPT_SOURCE"

    // ConflictResolutionStrategyTypeEnumAcceptDestination is a ConflictResolutionStrategyTypeEnum enum value
    ConflictResolutionStrategyTypeEnumAcceptDestination = "ACCEPT_DESTINATION"

    // ConflictResolutionStrategyTypeEnumAutomerge is a ConflictResolutionStrategyTypeEnum enum value
    ConflictResolutionStrategyTypeEnumAutomerge = "AUTOMERGE"
)
const (
    // FileModeTypeEnumExecutable is a FileModeTypeEnum enum value
    FileModeTypeEnumExecutable = "EXECUTABLE"

    // FileModeTypeEnumNormal is a FileModeTypeEnum enum value
    FileModeTypeEnumNormal = "NORMAL"

    // FileModeTypeEnumSymlink is a FileModeTypeEnum enum value
    FileModeTypeEnumSymlink = "SYMLINK"
)
const (
    // MergeOptionTypeEnumFastForwardMerge is a MergeOptionTypeEnum enum value
    MergeOptionTypeEnumFastForwardMerge = "FAST_FORWARD_MERGE"

    // MergeOptionTypeEnumSquashMerge is a MergeOptionTypeEnum enum value
    MergeOptionTypeEnumSquashMerge = "SQUASH_MERGE"

    // MergeOptionTypeEnumThreeWayMerge is a MergeOptionTypeEnum enum value
    MergeOptionTypeEnumThreeWayMerge = "THREE_WAY_MERGE"
)
const (
    // ObjectTypeEnumFile is a ObjectTypeEnum enum value
    ObjectTypeEnumFile = "FILE"

    // ObjectTypeEnumDirectory is a ObjectTypeEnum enum value
    ObjectTypeEnumDirectory = "DIRECTORY"

    // ObjectTypeEnumGitLink is a ObjectTypeEnum enum value
    ObjectTypeEnumGitLink = "GIT_LINK"

    // ObjectTypeEnumSymbolicLink is a ObjectTypeEnum enum value
    ObjectTypeEnumSymbolicLink = "SYMBOLIC_LINK"
)
const (
    // OrderEnumAscending is a OrderEnum enum value
    OrderEnumAscending = "ascending"

    // OrderEnumDescending is a OrderEnum enum value
    OrderEnumDescending = "descending"
)
const (
    // PullRequestEventTypePullRequestCreated is a PullRequestEventType enum value
    PullRequestEventTypePullRequestCreated = "PULL_REQUEST_CREATED"

    // PullRequestEventTypePullRequestStatusChanged is a PullRequestEventType enum value
    PullRequestEventTypePullRequestStatusChanged = "PULL_REQUEST_STATUS_CHANGED"

    // PullRequestEventTypePullRequestSourceReferenceUpdated is a PullRequestEventType enum value
    PullRequestEventTypePullRequestSourceReferenceUpdated = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED"

    // PullRequestEventTypePullRequestMergeStateChanged is a PullRequestEventType enum value
    PullRequestEventTypePullRequestMergeStateChanged = "PULL_REQUEST_MERGE_STATE_CHANGED"
)
const (
    // PullRequestStatusEnumOpen is a PullRequestStatusEnum enum value
    PullRequestStatusEnumOpen = "OPEN"

    // PullRequestStatusEnumClosed is a PullRequestStatusEnum enum value
    PullRequestStatusEnumClosed = "CLOSED"
)
const (
    // RelativeFileVersionEnumBefore is a RelativeFileVersionEnum enum value
    RelativeFileVersionEnumBefore = "BEFORE"

    // RelativeFileVersionEnumAfter is a RelativeFileVersionEnum enum value
    RelativeFileVersionEnumAfter = "AFTER"
)
const (
    // ReplacementTypeEnumKeepBase is a ReplacementTypeEnum enum value
    ReplacementTypeEnumKeepBase = "KEEP_BASE"

    // ReplacementTypeEnumKeepSource is a ReplacementTypeEnum enum value
    ReplacementTypeEnumKeepSource = "KEEP_SOURCE"

    // ReplacementTypeEnumKeepDestination is a ReplacementTypeEnum enum value
    ReplacementTypeEnumKeepDestination = "KEEP_DESTINATION"

    // ReplacementTypeEnumUseNewContent is a ReplacementTypeEnum enum value
    ReplacementTypeEnumUseNewContent = "USE_NEW_CONTENT"
)
const (
    // RepositoryTriggerEventEnumAll is a RepositoryTriggerEventEnum enum value
    RepositoryTriggerEventEnumAll = "all"

    // RepositoryTriggerEventEnumUpdateReference is a RepositoryTriggerEventEnum enum value
    RepositoryTriggerEventEnumUpdateReference = "updateReference"

    // RepositoryTriggerEventEnumCreateReference is a RepositoryTriggerEventEnum enum value
    RepositoryTriggerEventEnumCreateReference = "createReference"

    // RepositoryTriggerEventEnumDeleteReference is a RepositoryTriggerEventEnum enum value
    RepositoryTriggerEventEnumDeleteReference = "deleteReference"
)
const (
    // SortByEnumRepositoryName is a SortByEnum enum value
    SortByEnumRepositoryName = "repositoryName"

    // SortByEnumLastModifiedDate is a SortByEnum enum value
    SortByEnumLastModifiedDate = "lastModifiedDate"
)
const (

    // ErrCodeActorDoesNotExistException for service response error code
    // "ActorDoesNotExistException".
    //
    // The specified Amazon Resource Name (ARN) does not exist in the AWS account.
    ErrCodeActorDoesNotExistException = "ActorDoesNotExistException"

    // ErrCodeAuthorDoesNotExistException for service response error code
    // "AuthorDoesNotExistException".
    //
    // The specified Amazon Resource Name (ARN) does not exist in the AWS account.
    ErrCodeAuthorDoesNotExistException = "AuthorDoesNotExistException"

    // ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException for service response error code
    // "BeforeCommitIdAndAfterCommitIdAreSameException".
    //
    // The before commit ID and the after commit ID are the same, which is not valid.
    // The before commit ID and the after commit ID must be different commit IDs.
    ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException = "BeforeCommitIdAndAfterCommitIdAreSameException"

    // ErrCodeBlobIdDoesNotExistException for service response error code
    // "BlobIdDoesNotExistException".
    //
    // The specified blob does not exist.
    ErrCodeBlobIdDoesNotExistException = "BlobIdDoesNotExistException"

    // ErrCodeBlobIdRequiredException for service response error code
    // "BlobIdRequiredException".
    //
    // A blob ID is required but was not specified.
    ErrCodeBlobIdRequiredException = "BlobIdRequiredException"

    // ErrCodeBranchDoesNotExistException for service response error code
    // "BranchDoesNotExistException".
    //
    // The specified branch does not exist.
    ErrCodeBranchDoesNotExistException = "BranchDoesNotExistException"

    // ErrCodeBranchNameExistsException for service response error code
    // "BranchNameExistsException".
    //
    // The specified branch name already exists.
    ErrCodeBranchNameExistsException = "BranchNameExistsException"

    // ErrCodeBranchNameIsTagNameException for service response error code
    // "BranchNameIsTagNameException".
    //
    // The specified branch name is not valid because it is a tag name. Type the
    // name of a current branch in the repository. For a list of valid branch names,
    // use ListBranches.
    ErrCodeBranchNameIsTagNameException = "BranchNameIsTagNameException"

    // ErrCodeBranchNameRequiredException for service response error code
    // "BranchNameRequiredException".
    //
    // A branch name is required but was not specified.
    ErrCodeBranchNameRequiredException = "BranchNameRequiredException"

    // ErrCodeClientRequestTokenRequiredException for service response error code
    // "ClientRequestTokenRequiredException".
    //
    // A client request token is required. A client request token is an unique,
    // client-generated idempotency token that when provided in a request, ensures
    // the request cannot be repeated with a changed parameter. If a request is
    // received with the same parameters and a token is included, the request will
    // return information about the initial request that used that token.
    ErrCodeClientRequestTokenRequiredException = "ClientRequestTokenRequiredException"

    // ErrCodeCommentContentRequiredException for service response error code
    // "CommentContentRequiredException".
    //
    // The comment is empty. You must provide some content for a comment. The content
    // cannot be null.
    ErrCodeCommentContentRequiredException = "CommentContentRequiredException"

    // ErrCodeCommentContentSizeLimitExceededException for service response error code
    // "CommentContentSizeLimitExceededException".
    //
    // The comment is too large. Comments are limited to 1,000 characters.
    ErrCodeCommentContentSizeLimitExceededException = "CommentContentSizeLimitExceededException"

    // ErrCodeCommentDeletedException for service response error code
    // "CommentDeletedException".
    //
    // This comment has already been deleted. You cannot edit or delete a deleted
    // comment.
    ErrCodeCommentDeletedException = "CommentDeletedException"

    // ErrCodeCommentDoesNotExistException for service response error code
    // "CommentDoesNotExistException".
    //
    // No comment exists with the provided ID. Verify that you have provided the
    // correct ID, and then try again.
    ErrCodeCommentDoesNotExistException = "CommentDoesNotExistException"

    // ErrCodeCommentIdRequiredException for service response error code
    // "CommentIdRequiredException".
    //
    // The comment ID is missing or null. A comment ID is required.
    ErrCodeCommentIdRequiredException = "CommentIdRequiredException"

    // ErrCodeCommentNotCreatedByCallerException for service response error code
    // "CommentNotCreatedByCallerException".
    //
    // You cannot modify or delete this comment. Only comment authors can modify
    // or delete their comments.
    ErrCodeCommentNotCreatedByCallerException = "CommentNotCreatedByCallerException"

    // ErrCodeCommitDoesNotExistException for service response error code
    // "CommitDoesNotExistException".
    //
    // The specified commit does not exist or no commit was specified, and the specified
    // repository has no default branch.
    ErrCodeCommitDoesNotExistException = "CommitDoesNotExistException"

    // ErrCodeCommitIdDoesNotExistException for service response error code
    // "CommitIdDoesNotExistException".
    //
    // The specified commit ID does not exist.
    ErrCodeCommitIdDoesNotExistException = "CommitIdDoesNotExistException"

    // ErrCodeCommitIdRequiredException for service response error code
    // "CommitIdRequiredException".
    //
    // A commit ID was not specified.
    ErrCodeCommitIdRequiredException = "CommitIdRequiredException"

    // ErrCodeCommitMessageLengthExceededException for service response error code
    // "CommitMessageLengthExceededException".
    //
    // The commit message is too long. Provide a shorter string.
    ErrCodeCommitMessageLengthExceededException = "CommitMessageLengthExceededException"

    // ErrCodeCommitRequiredException for service response error code
    // "CommitRequiredException".
    //
    // A commit was not specified.
    ErrCodeCommitRequiredException = "CommitRequiredException"

    // ErrCodeDefaultBranchCannotBeDeletedException for service response error code
    // "DefaultBranchCannotBeDeletedException".
    //
    // The specified branch is the default branch for the repository, and cannot
    // be deleted. To delete this branch, you must first set another branch as the
    // default branch.
    ErrCodeDefaultBranchCannotBeDeletedException = "DefaultBranchCannotBeDeletedException"

    // ErrCodeDirectoryNameConflictsWithFileNameException for service response error code
    // "DirectoryNameConflictsWithFileNameException".
    //
    // A file cannot be added to the repository because the specified path name
    // has the same name as a file that already exists in this repository. Either
    // provide a different name for the file, or specify a different path for the
    // file.
    ErrCodeDirectoryNameConflictsWithFileNameException = "DirectoryNameConflictsWithFileNameException"

    // ErrCodeEncryptionIntegrityChecksFailedException for service response error code
    // "EncryptionIntegrityChecksFailedException".
    //
    // An encryption integrity check failed.
    ErrCodeEncryptionIntegrityChecksFailedException = "EncryptionIntegrityChecksFailedException"

    // ErrCodeEncryptionKeyAccessDeniedException for service response error code
    // "EncryptionKeyAccessDeniedException".
    //
    // An encryption key could not be accessed.
    ErrCodeEncryptionKeyAccessDeniedException = "EncryptionKeyAccessDeniedException"

    // ErrCodeEncryptionKeyDisabledException for service response error code
    // "EncryptionKeyDisabledException".
    //
    // The encryption key is disabled.
    ErrCodeEncryptionKeyDisabledException = "EncryptionKeyDisabledException"

    // ErrCodeEncryptionKeyNotFoundException for service response error code
    // "EncryptionKeyNotFoundException".
    //
    // No encryption key was found.
    ErrCodeEncryptionKeyNotFoundException = "EncryptionKeyNotFoundException"

    // ErrCodeEncryptionKeyUnavailableException for service response error code
    // "EncryptionKeyUnavailableException".
    //
    // The encryption key is not available.
    ErrCodeEncryptionKeyUnavailableException = "EncryptionKeyUnavailableException"

    // ErrCodeFileContentAndSourceFileSpecifiedException for service response error code
    // "FileContentAndSourceFileSpecifiedException".
    //
    // The commit cannot be created because both a source file and file content
    // have been specified for the same file. You cannot provide both. Either specify
    // a source file, or provide the file content directly.
    ErrCodeFileContentAndSourceFileSpecifiedException = "FileContentAndSourceFileSpecifiedException"

    // ErrCodeFileContentRequiredException for service response error code
    // "FileContentRequiredException".
    //
    // The file cannot be added because it is empty. Empty files cannot be added
    // to the repository with this API.
    ErrCodeFileContentRequiredException = "FileContentRequiredException"

    // ErrCodeFileContentSizeLimitExceededException for service response error code
    // "FileContentSizeLimitExceededException".
    //
    // The file cannot be added because it is too large. The maximum file size that
    // can be added is 6 MB, and the combined file content change size is 7 MB.
    // Consider making these changes using a Git client.
    ErrCodeFileContentSizeLimitExceededException = "FileContentSizeLimitExceededException"

    // ErrCodeFileDoesNotExistException for service response error code
    // "FileDoesNotExistException".
    //
    // The specified file does not exist. Verify that you have provided the correct
    // name of the file, including its full path and extension.
    ErrCodeFileDoesNotExistException = "FileDoesNotExistException"

    // ErrCodeFileEntryRequiredException for service response error code
    // "FileEntryRequiredException".
    //
    // The commit cannot be created because no files have been specified as added,
    // updated, or changed (PutFile or DeleteFile) for the commit.
    ErrCodeFileEntryRequiredException = "FileEntryRequiredException"

    // ErrCodeFileModeRequiredException for service response error code
    // "FileModeRequiredException".
    //
    // The commit cannot be created because a file mode is required to update mode
    // permissions for an existing file, but no file mode has been specified.
    ErrCodeFileModeRequiredException = "FileModeRequiredException"

    // ErrCodeFileNameConflictsWithDirectoryNameException for service response error code
    // "FileNameConflictsWithDirectoryNameException".
    //
    // A file cannot be added to the repository because the specified file name
    // has the same name as a directory in this repository. Either provide another
    // name for the file, or add the file in a directory that does not match the
    // file name.
    ErrCodeFileNameConflictsWithDirectoryNameException = "FileNameConflictsWithDirectoryNameException"

    // ErrCodeFilePathConflictsWithSubmodulePathException for service response error code
    // "FilePathConflictsWithSubmodulePathException".
    //
    // The commit cannot be created because a specified file path points to a submodule.
    // Verify that the destination files have valid file paths that do not point
    // to a submodule.
    ErrCodeFilePathConflictsWithSubmodulePathException = "FilePathConflictsWithSubmodulePathException"

    // ErrCodeFileTooLargeException for service response error code
    // "FileTooLargeException".
    //
    // The specified file exceeds the file size limit for AWS CodeCommit. For more
    // information about limits in AWS CodeCommit, see AWS CodeCommit User Guide
    // (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).
    ErrCodeFileTooLargeException = "FileTooLargeException"

    // ErrCodeFolderContentSizeLimitExceededException for service response error code
    // "FolderContentSizeLimitExceededException".
    //
    // The commit cannot be created because at least one of the overall changes
    // in the commit results in a folder whose contents exceed the limit of 6 MB.
    // Either reduce the number and size of your changes, or split the changes across
    // multiple folders.
    ErrCodeFolderContentSizeLimitExceededException = "FolderContentSizeLimitExceededException"

    // ErrCodeFolderDoesNotExistException for service response error code
    // "FolderDoesNotExistException".
    //
    // The specified folder does not exist. Either the folder name is not correct,
    // or you did not provide the full path to the folder.
    ErrCodeFolderDoesNotExistException = "FolderDoesNotExistException"

    // ErrCodeIdempotencyParameterMismatchException for service response error code
    // "IdempotencyParameterMismatchException".
    //
    // The client request token is not valid. Either the token is not in a valid
    // format, or the token has been used in a previous request and cannot be re-used.
    ErrCodeIdempotencyParameterMismatchException = "IdempotencyParameterMismatchException"

    // ErrCodeInvalidActorArnException for service response error code
    // "InvalidActorArnException".
    //
    // The Amazon Resource Name (ARN) is not valid. Make sure that you have provided
    // the full ARN for the user who initiated the change for the pull request,
    // and then try again.
    ErrCodeInvalidActorArnException = "InvalidActorArnException"

    // ErrCodeInvalidAuthorArnException for service response error code
    // "InvalidAuthorArnException".
    //
    // The Amazon Resource Name (ARN) is not valid. Make sure that you have provided
    // the full ARN for the author of the pull request, and then try again.
    ErrCodeInvalidAuthorArnException = "InvalidAuthorArnException"

    // ErrCodeInvalidBlobIdException for service response error code
    // "InvalidBlobIdException".
    //
    // The specified blob is not valid.
    ErrCodeInvalidBlobIdException = "InvalidBlobIdException"

    // ErrCodeInvalidBranchNameException for service response error code
    // "InvalidBranchNameException".
    //
    // The specified reference name is not valid.
    ErrCodeInvalidBranchNameException = "InvalidBranchNameException"

    // ErrCodeInvalidClientRequestTokenException for service response error code
    // "InvalidClientRequestTokenException".
    //
    // The client request token is not valid.
    ErrCodeInvalidClientRequestTokenException = "InvalidClientRequestTokenException"

    // ErrCodeInvalidCommentIdException for service response error code
    // "InvalidCommentIdException".
    //
    // The comment ID is not in a valid format. Make sure that you have provided
    // the full comment ID.
    ErrCodeInvalidCommentIdException = "InvalidCommentIdException"

    // ErrCodeInvalidCommitException for service response error code
    // "InvalidCommitException".
    //
    // The specified commit is not valid.
    ErrCodeInvalidCommitException = "InvalidCommitException"

    // ErrCodeInvalidCommitIdException for service response error code
    // "InvalidCommitIdException".
    //
    // The specified commit ID is not valid.
    ErrCodeInvalidCommitIdException = "InvalidCommitIdException"

    // ErrCodeInvalidConflictDetailLevelException for service response error code
    // "InvalidConflictDetailLevelException".
    //
    // The specified conflict detail level is not valid.
    ErrCodeInvalidConflictDetailLevelException = "InvalidConflictDetailLevelException"

    // ErrCodeInvalidConflictResolutionException for service response error code
    // "InvalidConflictResolutionException".
    //
    // The specified conflict resolution list is not valid.
    ErrCodeInvalidConflictResolutionException = "InvalidConflictResolutionException"

    // ErrCodeInvalidConflictResolutionStrategyException for service response error code
    // "InvalidConflictResolutionStrategyException".
    //
    // The specified conflict resolution strategy is not valid.
    ErrCodeInvalidConflictResolutionStrategyException = "InvalidConflictResolutionStrategyException"

    // ErrCodeInvalidContinuationTokenException for service response error code
    // "InvalidContinuationTokenException".
    //
    // The specified continuation token is not valid.
    ErrCodeInvalidContinuationTokenException = "InvalidContinuationTokenException"

    // ErrCodeInvalidDeletionParameterException for service response error code
    // "InvalidDeletionParameterException".
    //
    // The specified deletion parameter is not valid.
    ErrCodeInvalidDeletionParameterException = "InvalidDeletionParameterException"

    // ErrCodeInvalidDescriptionException for service response error code
    // "InvalidDescriptionException".
    //
    // The pull request description is not valid. Descriptions are limited to 1,000
    // characters in length.
    ErrCodeInvalidDescriptionException = "InvalidDescriptionException"

    // ErrCodeInvalidDestinationCommitSpecifierException for service response error code
    // "InvalidDestinationCommitSpecifierException".
    //
    // The destination commit specifier is not valid. You must provide a valid branch
    // name, tag, or full commit ID.
    ErrCodeInvalidDestinationCommitSpecifierException = "InvalidDestinationCommitSpecifierException"

    // ErrCodeInvalidEmailException for service response error code
    // "InvalidEmailException".
    //
    // The specified email address either contains one or more characters that are
    // not allowed, or it exceeds the maximum number of characters allowed for an
    // email address.
    ErrCodeInvalidEmailException = "InvalidEmailException"

    // ErrCodeInvalidFileLocationException for service response error code
    // "InvalidFileLocationException".
    //
    // The location of the file is not valid. Make sure that you include the extension
    // of the file as well as the file name.
    ErrCodeInvalidFileLocationException = "InvalidFileLocationException"

    // ErrCodeInvalidFileModeException for service response error code
    // "InvalidFileModeException".
    //
    // The specified file mode permission is not valid. For a list of valid file
    // mode permissions, see PutFile.
    ErrCodeInvalidFileModeException = "InvalidFileModeException"

    // ErrCodeInvalidFilePositionException for service response error code
    // "InvalidFilePositionException".
    //
    // The position is not valid. Make sure that the line number exists in the version
    // of the file you want to comment on.
    ErrCodeInvalidFilePositionException = "InvalidFilePositionException"

    // ErrCodeInvalidMaxConflictFilesException for service response error code
    // "InvalidMaxConflictFilesException".
    //
    // The specified value for the number of conflict files to return is not valid.
    ErrCodeInvalidMaxConflictFilesException = "InvalidMaxConflictFilesException"

    // ErrCodeInvalidMaxMergeHunksException for service response error code
    // "InvalidMaxMergeHunksException".
    //
    // The specified value for the number of merge hunks to return is not valid.
    ErrCodeInvalidMaxMergeHunksException = "InvalidMaxMergeHunksException"

    // ErrCodeInvalidMaxResultsException for service response error code
    // "InvalidMaxResultsException".
    //
    // The specified number of maximum results is not valid.
    ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException"

    // ErrCodeInvalidMergeOptionException for service response error code
    // "InvalidMergeOptionException".
    //
    // The specified merge option is not valid for this operation. Not all merge
    // strategies are supported for all operations.
    ErrCodeInvalidMergeOptionException = "InvalidMergeOptionException"

    // ErrCodeInvalidOrderException for service response error code
    // "InvalidOrderException".
    //
    // The specified sort order is not valid.
    ErrCodeInvalidOrderException = "InvalidOrderException"

    // ErrCodeInvalidParentCommitIdException for service response error code
    // "InvalidParentCommitIdException".
    //
    // The parent commit ID is not valid. The commit ID cannot be empty, and must
    // match the head commit ID for the branch of the repository where you want
    // to add or update a file.
    ErrCodeInvalidParentCommitIdException = "InvalidParentCommitIdException"

    // ErrCodeInvalidPathException for service response error code
    // "InvalidPathException".
    //
    // The specified path is not valid.
    ErrCodeInvalidPathException = "InvalidPathException"

    // ErrCodeInvalidPullRequestEventTypeException for service response error code
    // "InvalidPullRequestEventTypeException".
    //
    // The pull request event type is not valid.
    ErrCodeInvalidPullRequestEventTypeException = "InvalidPullRequestEventTypeException"

    // ErrCodeInvalidPullRequestIdException for service response error code
    // "InvalidPullRequestIdException".
    //
    // The pull request ID is not valid. Make sure that you have provided the full
    // ID and that the pull request is in the specified repository, and then try
    // again.
    ErrCodeInvalidPullRequestIdException = "InvalidPullRequestIdException"

    // ErrCodeInvalidPullRequestStatusException for service response error code
    // "InvalidPullRequestStatusException".
    //
    // The pull request status is not valid. The only valid values are OPEN and
    // CLOSED.
    ErrCodeInvalidPullRequestStatusException = "InvalidPullRequestStatusException"

    // ErrCodeInvalidPullRequestStatusUpdateException for service response error code
    // "InvalidPullRequestStatusUpdateException".
    //
    // The pull request status update is not valid. The only valid update is from
    // OPEN to CLOSED.
    ErrCodeInvalidPullRequestStatusUpdateException = "InvalidPullRequestStatusUpdateException"

    // ErrCodeInvalidReferenceNameException for service response error code
    // "InvalidReferenceNameException".
    //
    // The specified reference name format is not valid. Reference names must conform
    // to the Git references format, for example refs/heads/master. For more information,
    // see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References)
    // or consult your Git documentation.
    ErrCodeInvalidReferenceNameException = "InvalidReferenceNameException"

    // ErrCodeInvalidRelativeFileVersionEnumException for service response error code
    // "InvalidRelativeFileVersionEnumException".
    //
    // Either the enum is not in a valid format, or the specified file version enum
    // is not valid in respect to the current file version.
    ErrCodeInvalidRelativeFileVersionEnumException = "InvalidRelativeFileVersionEnumException"

    // ErrCodeInvalidReplacementContentException for service response error code
    // "InvalidReplacementContentException".
    //
    // Automerge was specified for resolving the conflict, but the replacement type
    // is not valid or content is missing.
    ErrCodeInvalidReplacementContentException = "InvalidReplacementContentException"

    // ErrCodeInvalidReplacementTypeException for service response error code
    // "InvalidReplacementTypeException".
    //
    // Automerge was specified for resolving the conflict, but the specified replacement
    // type is not valid.
    ErrCodeInvalidReplacementTypeException = "InvalidReplacementTypeException"

    // ErrCodeInvalidRepositoryDescriptionException for service response error code
    // "InvalidRepositoryDescriptionException".
    //
    // The specified repository description is not valid.
    ErrCodeInvalidRepositoryDescriptionException = "InvalidRepositoryDescriptionException"

    // ErrCodeInvalidRepositoryNameException for service response error code
    // "InvalidRepositoryNameException".
    //
    // At least one specified repository name is not valid.
    //
    // This exception only occurs when a specified repository name is not valid.
    // Other exceptions occur when a required repository parameter is missing, or
    // when a specified repository does not exist.
    ErrCodeInvalidRepositoryNameException = "InvalidRepositoryNameException"

    // ErrCodeInvalidRepositoryTriggerBranchNameException for service response error code
    // "InvalidRepositoryTriggerBranchNameException".
    //
    // One or more branch names specified for the trigger is not valid.
    ErrCodeInvalidRepositoryTriggerBranchNameException = "InvalidRepositoryTriggerBranchNameException"

    // ErrCodeInvalidRepositoryTriggerCustomDataException for service response error code
    // "InvalidRepositoryTriggerCustomDataException".
    //
    // The custom data provided for the trigger is not valid.
    ErrCodeInvalidRepositoryTriggerCustomDataException = "InvalidRepositoryTriggerCustomDataException"

    // ErrCodeInvalidRepositoryTriggerDestinationArnException for service response error code
    // "InvalidRepositoryTriggerDestinationArnException".
    //
    // The Amazon Resource Name (ARN) for the trigger is not valid for the specified
    // destination. The most common reason for this error is that the ARN does not
    // meet the requirements for the service type.
    ErrCodeInvalidRepositoryTriggerDestinationArnException = "InvalidRepositoryTriggerDestinationArnException"

    // ErrCodeInvalidRepositoryTriggerEventsException for service response error code
    // "InvalidRepositoryTriggerEventsException".
    //
    // One or more events specified for the trigger is not valid. Check to make
    // sure that all events specified match the requirements for allowed events.
    ErrCodeInvalidRepositoryTriggerEventsException = "InvalidRepositoryTriggerEventsException"

    // ErrCodeInvalidRepositoryTriggerNameException for service response error code
    // "InvalidRepositoryTriggerNameException".
    //
    // The name of the trigger is not valid.
    ErrCodeInvalidRepositoryTriggerNameException = "InvalidRepositoryTriggerNameException"

    // ErrCodeInvalidRepositoryTriggerRegionException for service response error code
    // "InvalidRepositoryTriggerRegionException".
    //
    // The region for the trigger target does not match the region for the repository.
    // Triggers must be created in the same region as the target for the trigger.
    ErrCodeInvalidRepositoryTriggerRegionException = "InvalidRepositoryTriggerRegionException"

    // ErrCodeInvalidResourceArnException for service response error code
    // "InvalidResourceArnException".
    //
    // The value for the resource ARN is not valid. For more information about resources
    // in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
    // in the AWS CodeCommit User Guide.
    ErrCodeInvalidResourceArnException = "InvalidResourceArnException"

    // ErrCodeInvalidSortByException for service response error code
    // "InvalidSortByException".
    //
    // The specified sort by value is not valid.
    ErrCodeInvalidSortByException = "InvalidSortByException"

    // ErrCodeInvalidSourceCommitSpecifierException for service response error code
    // "InvalidSourceCommitSpecifierException".
    //
    // The source commit specifier is not valid. You must provide a valid branch
    // name, tag, or full commit ID.
    ErrCodeInvalidSourceCommitSpecifierException = "InvalidSourceCommitSpecifierException"

    // ErrCodeInvalidSystemTagUsageException for service response error code
    // "InvalidSystemTagUsageException".
    //
    // The specified tag is not valid. Key names cannot be prefixed with aws:.
    ErrCodeInvalidSystemTagUsageException = "InvalidSystemTagUsageException"

    // ErrCodeInvalidTagKeysListException for service response error code
    // "InvalidTagKeysListException".
    //
    // The list of tags is not valid.
    ErrCodeInvalidTagKeysListException = "InvalidTagKeysListException"

    // ErrCodeInvalidTagsMapException for service response error code
    // "InvalidTagsMapException".
    //
    // The map of tags is not valid.
    ErrCodeInvalidTagsMapException = "InvalidTagsMapException"

    // ErrCodeInvalidTargetBranchException for service response error code
    // "InvalidTargetBranchException".
    //
    // The specified target branch is not valid.
    ErrCodeInvalidTargetBranchException = "InvalidTargetBranchException"

    // ErrCodeInvalidTargetException for service response error code
    // "InvalidTargetException".
    //
    // The target for the pull request is not valid. A target must contain the full
    // values for the repository name, source branch, and destination branch for
    // the pull request.
    ErrCodeInvalidTargetException = "InvalidTargetException"

    // ErrCodeInvalidTargetsException for service response error code
    // "InvalidTargetsException".
    //
    // The targets for the pull request is not valid or not in a valid format. Targets
    // are a list of target objects. Each target object must contain the full values
    // for the repository name, source branch, and destination branch for a pull
    // request.
    ErrCodeInvalidTargetsException = "InvalidTargetsException"

    // ErrCodeInvalidTitleException for service response error code
    // "InvalidTitleException".
    //
    // The title of the pull request is not valid. Pull request titles cannot exceed
    // 100 characters in length.
    ErrCodeInvalidTitleException = "InvalidTitleException"

    // ErrCodeManualMergeRequiredException for service response error code
    // "ManualMergeRequiredException".
    //
    // The pull request cannot be merged automatically into the destination branch.
    // You must manually merge the branches and resolve any conflicts.
    ErrCodeManualMergeRequiredException = "ManualMergeRequiredException"

    // ErrCodeMaximumBranchesExceededException for service response error code
    // "MaximumBranchesExceededException".
    //
    // The number of branches for the trigger was exceeded.
    ErrCodeMaximumBranchesExceededException = "MaximumBranchesExceededException"

    // ErrCodeMaximumConflictResolutionEntriesExceededException for service response error code
    // "MaximumConflictResolutionEntriesExceededException".
    //
    // The number of allowed conflict resolution entries was exceeded.
    ErrCodeMaximumConflictResolutionEntriesExceededException = "MaximumConflictResolutionEntriesExceededException"

    // ErrCodeMaximumFileContentToLoadExceededException for service response error code
    // "MaximumFileContentToLoadExceededException".
    //
    // The number of files to load exceeds the allowed limit.
    ErrCodeMaximumFileContentToLoadExceededException = "MaximumFileContentToLoadExceededException"

    // ErrCodeMaximumFileEntriesExceededException for service response error code
    // "MaximumFileEntriesExceededException".
    //
    // The number of specified files to change as part of this commit exceeds the
    // maximum number of files that can be changed in a single commit. Consider
    // using a Git client for these changes.
    ErrCodeMaximumFileEntriesExceededException = "MaximumFileEntriesExceededException"

    // ErrCodeMaximumOpenPullRequestsExceededException for service response error code
    // "MaximumOpenPullRequestsExceededException".
    //
    // You cannot create the pull request because the repository has too many open
    // pull requests. The maximum number of open pull requests for a repository
    // is 1,000. Close one or more open pull requests, and then try again.
    ErrCodeMaximumOpenPullRequestsExceededException = "MaximumOpenPullRequestsExceededException"

    // ErrCodeMaximumRepositoryNamesExceededException for service response error code
    // "MaximumRepositoryNamesExceededException".
    //
    // The maximum number of allowed repository names was exceeded. Currently, this
    // number is 25.
    ErrCodeMaximumRepositoryNamesExceededException = "MaximumRepositoryNamesExceededException"

    // ErrCodeMaximumRepositoryTriggersExceededException for service response error code
    // "MaximumRepositoryTriggersExceededException".
    //
    // The number of triggers allowed for the repository was exceeded.
    ErrCodeMaximumRepositoryTriggersExceededException = "MaximumRepositoryTriggersExceededException"

    // ErrCodeMergeOptionRequiredException for service response error code
    // "MergeOptionRequiredException".
    //
    // A merge option or stategy is required, and none was provided.
    ErrCodeMergeOptionRequiredException = "MergeOptionRequiredException"

    // ErrCodeMultipleConflictResolutionEntriesException for service response error code
    // "MultipleConflictResolutionEntriesException".
    //
    // More than one conflict resolution entries exists for the conflict. A conflict
    // can have only one conflict resolution entry.
    ErrCodeMultipleConflictResolutionEntriesException = "MultipleConflictResolutionEntriesException"

    // ErrCodeMultipleRepositoriesInPullRequestException for service response error code
    // "MultipleRepositoriesInPullRequestException".
    //
    // You cannot include more than one repository in a pull request. Make sure
    // you have specified only one repository name in your request, and then try
    // again.
    ErrCodeMultipleRepositoriesInPullRequestException = "MultipleRepositoriesInPullRequestException"

    // ErrCodeNameLengthExceededException for service response error code
    // "NameLengthExceededException".
    //
    // The user name is not valid because it has exceeded the character limit for
    // file names. File names, including the path to the file, cannot exceed the
    // character limit.
    ErrCodeNameLengthExceededException = "NameLengthExceededException"

    // ErrCodeNoChangeException for service response error code
    // "NoChangeException".
    //
    // The commit cannot be created because no changes will be made to the repository
    // as a result of this commit. A commit must contain at least one change.
    ErrCodeNoChangeException = "NoChangeException"

    // ErrCodeParentCommitDoesNotExistException for service response error code
    // "ParentCommitDoesNotExistException".
    //
    // The parent commit ID is not valid because it does not exist. The specified
    // parent commit ID does not exist in the specified branch of the repository.
    ErrCodeParentCommitDoesNotExistException = "ParentCommitDoesNotExistException"

    // ErrCodeParentCommitIdOutdatedException for service response error code
    // "ParentCommitIdOutdatedException".
    //
    // The file could not be added because the provided parent commit ID is not
    // the current tip of the specified branch. To view the full commit ID of the
    // current head of the branch, use GetBranch.
    ErrCodeParentCommitIdOutdatedException = "ParentCommitIdOutdatedException"

    // ErrCodeParentCommitIdRequiredException for service response error code
    // "ParentCommitIdRequiredException".
    //
    // A parent commit ID is required. To view the full commit ID of a branch in
    // a repository, use GetBranch or a Git command (for example, git pull or git
    // log).
    ErrCodeParentCommitIdRequiredException = "ParentCommitIdRequiredException"

    // ErrCodePathDoesNotExistException for service response error code
    // "PathDoesNotExistException".
    //
    // The specified path does not exist.
    ErrCodePathDoesNotExistException = "PathDoesNotExistException"

    // ErrCodePathRequiredException for service response error code
    // "PathRequiredException".
    //
    // The folderPath for a location cannot be null.
    ErrCodePathRequiredException = "PathRequiredException"

    // ErrCodePullRequestAlreadyClosedException for service response error code
    // "PullRequestAlreadyClosedException".
    //
    // The pull request status cannot be updated because it is already closed.
    ErrCodePullRequestAlreadyClosedException = "PullRequestAlreadyClosedException"

    // ErrCodePullRequestDoesNotExistException for service response error code
    // "PullRequestDoesNotExistException".
    //
    // The pull request ID could not be found. Make sure that you have specified
    // the correct repository name and pull request ID, and then try again.
    ErrCodePullRequestDoesNotExistException = "PullRequestDoesNotExistException"

    // ErrCodePullRequestIdRequiredException for service response error code
    // "PullRequestIdRequiredException".
    //
    // A pull request ID is required, but none was provided.
    ErrCodePullRequestIdRequiredException = "PullRequestIdRequiredException"

    // ErrCodePullRequestStatusRequiredException for service response error code
    // "PullRequestStatusRequiredException".
    //
    // A pull request status is required, but none was provided.
    ErrCodePullRequestStatusRequiredException = "PullRequestStatusRequiredException"

    // ErrCodePutFileEntryConflictException for service response error code
    // "PutFileEntryConflictException".
    //
    // The commit cannot be created because one or more files specified in the commit
    // reference both a file and a folder.
    ErrCodePutFileEntryConflictException = "PutFileEntryConflictException"

    // ErrCodeReferenceDoesNotExistException for service response error code
    // "ReferenceDoesNotExistException".
    //
    // The specified reference does not exist. You must provide a full commit ID.
    ErrCodeReferenceDoesNotExistException = "ReferenceDoesNotExistException"

    // ErrCodeReferenceNameRequiredException for service response error code
    // "ReferenceNameRequiredException".
    //
    // A reference name is required, but none was provided.
    ErrCodeReferenceNameRequiredException = "ReferenceNameRequiredException"

    // ErrCodeReferenceTypeNotSupportedException for service response error code
    // "ReferenceTypeNotSupportedException".
    //
    // The specified reference is not a supported type.
    ErrCodeReferenceTypeNotSupportedException = "ReferenceTypeNotSupportedException"

    // ErrCodeReplacementContentRequiredException for service response error code
    // "ReplacementContentRequiredException".
    //
    // USE_NEW_CONTENT was specified but no replacement content has been provided.
    ErrCodeReplacementContentRequiredException = "ReplacementContentRequiredException"

    // ErrCodeReplacementTypeRequiredException for service response error code
    // "ReplacementTypeRequiredException".
    //
    // A replacement type is required.
    ErrCodeReplacementTypeRequiredException = "ReplacementTypeRequiredException"

    // ErrCodeRepositoryDoesNotExistException for service response error code
    // "RepositoryDoesNotExistException".
    //
    // The specified repository does not exist.
    ErrCodeRepositoryDoesNotExistException = "RepositoryDoesNotExistException"

    // ErrCodeRepositoryLimitExceededException for service response error code
    // "RepositoryLimitExceededException".
    //
    // A repository resource limit was exceeded.
    ErrCodeRepositoryLimitExceededException = "RepositoryLimitExceededException"

    // ErrCodeRepositoryNameExistsException for service response error code
    // "RepositoryNameExistsException".
    //
    // The specified repository name already exists.
    ErrCodeRepositoryNameExistsException = "RepositoryNameExistsException"

    // ErrCodeRepositoryNameRequiredException for service response error code
    // "RepositoryNameRequiredException".
    //
    // A repository name is required but was not specified.
    ErrCodeRepositoryNameRequiredException = "RepositoryNameRequiredException"

    // ErrCodeRepositoryNamesRequiredException for service response error code
    // "RepositoryNamesRequiredException".
    //
    // A repository names object is required but was not specified.
    ErrCodeRepositoryNamesRequiredException = "RepositoryNamesRequiredException"

    // ErrCodeRepositoryNotAssociatedWithPullRequestException for service response error code
    // "RepositoryNotAssociatedWithPullRequestException".
    //
    // The repository does not contain any pull requests with that pull request
    // ID. Use GetPullRequest to verify the correct repository name for the pull
    // request ID.
    ErrCodeRepositoryNotAssociatedWithPullRequestException = "RepositoryNotAssociatedWithPullRequestException"

    // ErrCodeRepositoryTriggerBranchNameListRequiredException for service response error code
    // "RepositoryTriggerBranchNameListRequiredException".
    //
    // At least one branch name is required but was not specified in the trigger
    // configuration.
    ErrCodeRepositoryTriggerBranchNameListRequiredException = "RepositoryTriggerBranchNameListRequiredException"

    // ErrCodeRepositoryTriggerDestinationArnRequiredException for service response error code
    // "RepositoryTriggerDestinationArnRequiredException".
    //
    // A destination ARN for the target service for the trigger is required but
    // was not specified.
    ErrCodeRepositoryTriggerDestinationArnRequiredException = "RepositoryTriggerDestinationArnRequiredException"

    // ErrCodeRepositoryTriggerEventsListRequiredException for service response error code
    // "RepositoryTriggerEventsListRequiredException".
    //
    // At least one event for the trigger is required but was not specified.
    ErrCodeRepositoryTriggerEventsListRequiredException = "RepositoryTriggerEventsListRequiredException"

    // ErrCodeRepositoryTriggerNameRequiredException for service response error code
    // "RepositoryTriggerNameRequiredException".
    //
    // A name for the trigger is required but was not specified.
    ErrCodeRepositoryTriggerNameRequiredException = "RepositoryTriggerNameRequiredException"

    // ErrCodeRepositoryTriggersListRequiredException for service response error code
    // "RepositoryTriggersListRequiredException".
    //
    // The list of triggers for the repository is required but was not specified.
    ErrCodeRepositoryTriggersListRequiredException = "RepositoryTriggersListRequiredException"

    // ErrCodeResourceArnRequiredException for service response error code
    // "ResourceArnRequiredException".
    //
    // A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required.
    // For a list of valid resources in AWS CodeCommit, see CodeCommit Resources
    // and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
    // in the AWS CodeCommit User Guide.
    ErrCodeResourceArnRequiredException = "ResourceArnRequiredException"

    // ErrCodeRestrictedSourceFileException for service response error code
    // "RestrictedSourceFileException".
    //
    // The commit cannot be created because one of the changes specifies copying
    // or moving a .gitkeep file.
    ErrCodeRestrictedSourceFileException = "RestrictedSourceFileException"

    // ErrCodeSameFileContentException for service response error code
    // "SameFileContentException".
    //
    // The file was not added or updated because the content of the file is exactly
    // the same as the content of that file in the repository and branch that you
    // specified.
    ErrCodeSameFileContentException = "SameFileContentException"

    // ErrCodeSamePathRequestException for service response error code
    // "SamePathRequestException".
    //
    // The commit cannot be created because one or more changes in this commit duplicate
    // actions in the same file path. For example, you cannot make the same delete
    // request to the same file in the same file path twice, or make a delete request
    // and a move request to the same file as part of the same commit.
    ErrCodeSamePathRequestException = "SamePathRequestException"

    // ErrCodeSourceAndDestinationAreSameException for service response error code
    // "SourceAndDestinationAreSameException".
    //
    // The source branch and the destination branch for the pull request are the
    // same. You must specify different branches for the source and destination.
    ErrCodeSourceAndDestinationAreSameException = "SourceAndDestinationAreSameException"

    // ErrCodeSourceFileOrContentRequiredException for service response error code
    // "SourceFileOrContentRequiredException".
    //
    // The commit cannot be created because no source files or file content have
    // been specified for the commit.
    ErrCodeSourceFileOrContentRequiredException = "SourceFileOrContentRequiredException"

    // ErrCodeTagKeysListRequiredException for service response error code
    // "TagKeysListRequiredException".
    //
    // A list of tag keys is required. The list cannot be empty or null.
    ErrCodeTagKeysListRequiredException = "TagKeysListRequiredException"

    // ErrCodeTagPolicyException for service response error code
    // "TagPolicyException".
    //
    // The tag policy is not valid.
    ErrCodeTagPolicyException = "TagPolicyException"

    // ErrCodeTagsMapRequiredException for service response error code
    // "TagsMapRequiredException".
    //
    // A map of tags is required.
    ErrCodeTagsMapRequiredException = "TagsMapRequiredException"

    // ErrCodeTargetRequiredException for service response error code
    // "TargetRequiredException".
    //
    // A pull request target is required. It cannot be empty or null. A pull request
    // target must contain the full values for the repository name, source branch,
    // and destination branch for the pull request.
    ErrCodeTargetRequiredException = "TargetRequiredException"

    // ErrCodeTargetsRequiredException for service response error code
    // "TargetsRequiredException".
    //
    // An array of target objects is required. It cannot be empty or null.
    ErrCodeTargetsRequiredException = "TargetsRequiredException"

    // ErrCodeTipOfSourceReferenceIsDifferentException for service response error code
    // "TipOfSourceReferenceIsDifferentException".
    //
    // The tip of the source branch in the destination repository does not match
    // the tip of the source branch specified in your request. The pull request
    // might have been updated. Make sure that you have the latest changes.
    ErrCodeTipOfSourceReferenceIsDifferentException = "TipOfSourceReferenceIsDifferentException"

    // ErrCodeTipsDivergenceExceededException for service response error code
    // "TipsDivergenceExceededException".
    //
    // The divergence between the tips of the provided commit specifiers is too
    // great to determine whether there might be any merge conflicts. Locally compare
    // the specifiers using git diff or a diff tool.
    ErrCodeTipsDivergenceExceededException = "TipsDivergenceExceededException"

    // ErrCodeTitleRequiredException for service response error code
    // "TitleRequiredException".
    //
    // A pull request title is required. It cannot be empty or null.
    ErrCodeTitleRequiredException = "TitleRequiredException"

    // ErrCodeTooManyTagsException for service response error code
    // "TooManyTagsException".
    //
    // The maximum number of tags for an AWS CodeCommit resource has been exceeded.
    ErrCodeTooManyTagsException = "TooManyTagsException"
)
const (
    ServiceName = "codecommit" // Name of service.
    EndpointsID = ServiceName  // ID to lookup a service endpoint with.
    ServiceID   = "CodeCommit" // ServiceID is a unique identifer of a specific service.
)

Service information constants

type BatchDescribeMergeConflictsError

type BatchDescribeMergeConflictsError struct {

    // The name of the exception.
    //
    // ExceptionName is a required field
    ExceptionName *string `locationName:"exceptionName" type:"string" required:"true"`

    // The path to the file.
    //
    // FilePath is a required field
    FilePath *string `locationName:"filePath" type:"string" required:"true"`

    // The message provided by the exception.
    //
    // Message is a required field
    Message *string `locationName:"message" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Information about errors in a BatchDescribeMergeConflicts operation.

func (BatchDescribeMergeConflictsError) GoString

func (s BatchDescribeMergeConflictsError) GoString() string

GoString returns the string representation

func (*BatchDescribeMergeConflictsError) SetExceptionName

func (s *BatchDescribeMergeConflictsError) SetExceptionName(v string) *BatchDescribeMergeConflictsError

SetExceptionName sets the ExceptionName field's value.

func (*BatchDescribeMergeConflictsError) SetFilePath

func (s *BatchDescribeMergeConflictsError) SetFilePath(v string) *BatchDescribeMergeConflictsError

SetFilePath sets the FilePath field's value.

func (*BatchDescribeMergeConflictsError) SetMessage

func (s *BatchDescribeMergeConflictsError) SetMessage(v string) *BatchDescribeMergeConflictsError

SetMessage sets the Message field's value.

func (BatchDescribeMergeConflictsError) String

func (s BatchDescribeMergeConflictsError) String() string

String returns the string representation

type BatchDescribeMergeConflictsInput

type BatchDescribeMergeConflictsInput struct {

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The path of the target files used to describe the conflicts. If not specified,
    // the default is all conflict files.
    FilePaths []*string `locationName:"filePaths" type:"list"`

    // The maximum number of files to include in the output.
    MaxConflictFiles *int64 `locationName:"maxConflictFiles" type:"integer"`

    // The maximum number of merge hunks to include in the output.
    MaxMergeHunks *int64 `locationName:"maxMergeHunks" type:"integer"`

    // The merge option or strategy you want to use to merge the code.
    //
    // MergeOption is a required field
    MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"`

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The name of the repository that contains the merge conflicts you want to
    // review.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (BatchDescribeMergeConflictsInput) GoString

func (s BatchDescribeMergeConflictsInput) GoString() string

GoString returns the string representation

func (*BatchDescribeMergeConflictsInput) SetConflictDetailLevel

func (s *BatchDescribeMergeConflictsInput) SetConflictDetailLevel(v string) *BatchDescribeMergeConflictsInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*BatchDescribeMergeConflictsInput) SetConflictResolutionStrategy

func (s *BatchDescribeMergeConflictsInput) SetConflictResolutionStrategy(v string) *BatchDescribeMergeConflictsInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*BatchDescribeMergeConflictsInput) SetDestinationCommitSpecifier

func (s *BatchDescribeMergeConflictsInput) SetDestinationCommitSpecifier(v string) *BatchDescribeMergeConflictsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*BatchDescribeMergeConflictsInput) SetFilePaths

func (s *BatchDescribeMergeConflictsInput) SetFilePaths(v []*string) *BatchDescribeMergeConflictsInput

SetFilePaths sets the FilePaths field's value.

func (*BatchDescribeMergeConflictsInput) SetMaxConflictFiles

func (s *BatchDescribeMergeConflictsInput) SetMaxConflictFiles(v int64) *BatchDescribeMergeConflictsInput

SetMaxConflictFiles sets the MaxConflictFiles field's value.

func (*BatchDescribeMergeConflictsInput) SetMaxMergeHunks

func (s *BatchDescribeMergeConflictsInput) SetMaxMergeHunks(v int64) *BatchDescribeMergeConflictsInput

SetMaxMergeHunks sets the MaxMergeHunks field's value.

func (*BatchDescribeMergeConflictsInput) SetMergeOption

func (s *BatchDescribeMergeConflictsInput) SetMergeOption(v string) *BatchDescribeMergeConflictsInput

SetMergeOption sets the MergeOption field's value.

func (*BatchDescribeMergeConflictsInput) SetNextToken

func (s *BatchDescribeMergeConflictsInput) SetNextToken(v string) *BatchDescribeMergeConflictsInput

SetNextToken sets the NextToken field's value.

func (*BatchDescribeMergeConflictsInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*BatchDescribeMergeConflictsInput) SetSourceCommitSpecifier

func (s *BatchDescribeMergeConflictsInput) SetSourceCommitSpecifier(v string) *BatchDescribeMergeConflictsInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (BatchDescribeMergeConflictsInput) String

func (s BatchDescribeMergeConflictsInput) String() string

String returns the string representation

func (*BatchDescribeMergeConflictsInput) Validate

func (s *BatchDescribeMergeConflictsInput) Validate() error

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

type BatchDescribeMergeConflictsOutput

type BatchDescribeMergeConflictsOutput struct {

    // The commit ID of the merge base.
    BaseCommitId *string `locationName:"baseCommitId" type:"string"`

    // A list of conflicts for each file, including the conflict metadata and the
    // hunks of the differences between the files.
    //
    // Conflicts is a required field
    Conflicts []*Conflict `locationName:"conflicts" type:"list" required:"true"`

    // The commit ID of the destination commit specifier that was used in the merge
    // evaluation.
    //
    // DestinationCommitId is a required field
    DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"`

    // A list of any errors returned while describing the merge conflicts for each
    // file.
    Errors []*BatchDescribeMergeConflictsError `locationName:"errors" type:"list"`

    // An enumeration token that can be used in a request to return the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The commit ID of the source commit specifier that was used in the merge evaluation.
    //
    // SourceCommitId is a required field
    SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (BatchDescribeMergeConflictsOutput) GoString

func (s BatchDescribeMergeConflictsOutput) GoString() string

GoString returns the string representation

func (*BatchDescribeMergeConflictsOutput) SetBaseCommitId

func (s *BatchDescribeMergeConflictsOutput) SetBaseCommitId(v string) *BatchDescribeMergeConflictsOutput

SetBaseCommitId sets the BaseCommitId field's value.

func (*BatchDescribeMergeConflictsOutput) SetConflicts

func (s *BatchDescribeMergeConflictsOutput) SetConflicts(v []*Conflict) *BatchDescribeMergeConflictsOutput

SetConflicts sets the Conflicts field's value.

func (*BatchDescribeMergeConflictsOutput) SetDestinationCommitId

func (s *BatchDescribeMergeConflictsOutput) SetDestinationCommitId(v string) *BatchDescribeMergeConflictsOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*BatchDescribeMergeConflictsOutput) SetErrors

func (s *BatchDescribeMergeConflictsOutput) SetErrors(v []*BatchDescribeMergeConflictsError) *BatchDescribeMergeConflictsOutput

SetErrors sets the Errors field's value.

func (*BatchDescribeMergeConflictsOutput) SetNextToken

func (s *BatchDescribeMergeConflictsOutput) SetNextToken(v string) *BatchDescribeMergeConflictsOutput

SetNextToken sets the NextToken field's value.

func (*BatchDescribeMergeConflictsOutput) SetSourceCommitId

func (s *BatchDescribeMergeConflictsOutput) SetSourceCommitId(v string) *BatchDescribeMergeConflictsOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (BatchDescribeMergeConflictsOutput) String

func (s BatchDescribeMergeConflictsOutput) String() string

String returns the string representation

type BatchGetRepositoriesInput

type BatchGetRepositoriesInput struct {

    // The names of the repositories to get information about.
    //
    // RepositoryNames is a required field
    RepositoryNames []*string `locationName:"repositoryNames" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a batch get repositories operation.

func (BatchGetRepositoriesInput) GoString

func (s BatchGetRepositoriesInput) GoString() string

GoString returns the string representation

func (*BatchGetRepositoriesInput) SetRepositoryNames

func (s *BatchGetRepositoriesInput) SetRepositoryNames(v []*string) *BatchGetRepositoriesInput

SetRepositoryNames sets the RepositoryNames field's value.

func (BatchGetRepositoriesInput) String

func (s BatchGetRepositoriesInput) String() string

String returns the string representation

func (*BatchGetRepositoriesInput) Validate

func (s *BatchGetRepositoriesInput) Validate() error

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

type BatchGetRepositoriesOutput

type BatchGetRepositoriesOutput struct {

    // A list of repositories returned by the batch get repositories operation.
    Repositories []*RepositoryMetadata `locationName:"repositories" type:"list"`

    // Returns a list of repository names for which information could not be found.
    RepositoriesNotFound []*string `locationName:"repositoriesNotFound" type:"list"`
    // contains filtered or unexported fields
}

Represents the output of a batch get repositories operation.

func (BatchGetRepositoriesOutput) GoString

func (s BatchGetRepositoriesOutput) GoString() string

GoString returns the string representation

func (*BatchGetRepositoriesOutput) SetRepositories

func (s *BatchGetRepositoriesOutput) SetRepositories(v []*RepositoryMetadata) *BatchGetRepositoriesOutput

SetRepositories sets the Repositories field's value.

func (*BatchGetRepositoriesOutput) SetRepositoriesNotFound

func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *BatchGetRepositoriesOutput

SetRepositoriesNotFound sets the RepositoriesNotFound field's value.

func (BatchGetRepositoriesOutput) String

func (s BatchGetRepositoriesOutput) String() string

String returns the string representation

type BlobMetadata

type BlobMetadata struct {

    // The full ID of the blob.
    BlobId *string `locationName:"blobId" type:"string"`

    // The file mode permissions of the blob. File mode permission codes include:
    //
    //    * 100644 indicates read/write
    //
    //    * 100755 indicates read/write/execute
    //
    //    * 160000 indicates a submodule
    //
    //    * 120000 indicates a symlink
    Mode *string `locationName:"mode" type:"string"`

    // The path to the blob and any associated file name, if any.
    Path *string `locationName:"path" type:"string"`
    // contains filtered or unexported fields
}

Returns information about a specific Git blob object.

func (BlobMetadata) GoString

func (s BlobMetadata) GoString() string

GoString returns the string representation

func (*BlobMetadata) SetBlobId

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

SetBlobId sets the BlobId field's value.

func (*BlobMetadata) SetMode

func (s *BlobMetadata) SetMode(v string) *BlobMetadata

SetMode sets the Mode field's value.

func (*BlobMetadata) SetPath

func (s *BlobMetadata) SetPath(v string) *BlobMetadata

SetPath sets the Path field's value.

func (BlobMetadata) String

func (s BlobMetadata) String() string

String returns the string representation

type BranchInfo

type BranchInfo struct {

    // The name of the branch.
    BranchName *string `locationName:"branchName" min:"1" type:"string"`

    // The ID of the last commit made to the branch.
    CommitId *string `locationName:"commitId" type:"string"`
    // contains filtered or unexported fields
}

Returns information about a branch.

func (BranchInfo) GoString

func (s BranchInfo) GoString() string

GoString returns the string representation

func (*BranchInfo) SetBranchName

func (s *BranchInfo) SetBranchName(v string) *BranchInfo

SetBranchName sets the BranchName field's value.

func (*BranchInfo) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (BranchInfo) String

func (s BranchInfo) String() string

String returns the string representation

type CodeCommit

type CodeCommit struct {
    *client.Client
}

CodeCommit provides the API operation methods for making requests to AWS CodeCommit. See this package's package overview docs for details on the service.

CodeCommit methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeCommit

New creates a new instance of the CodeCommit client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a CodeCommit client from just a session.
svc := codecommit.New(mySession)

// Create a CodeCommit client with additional configuration
svc := codecommit.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeCommit) BatchDescribeMergeConflicts

func (c *CodeCommit) BatchDescribeMergeConflicts(input *BatchDescribeMergeConflictsInput) (*BatchDescribeMergeConflictsOutput, error)

BatchDescribeMergeConflicts API operation for AWS CodeCommit.

Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation BatchDescribeMergeConflicts for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeMergeOptionRequiredException "MergeOptionRequiredException"
A merge option or stategy is required, and none was provided.

* ErrCodeInvalidMergeOptionException "InvalidMergeOptionException"
The specified merge option is not valid for this operation. Not all merge
strategies are supported for all operations.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeInvalidMaxConflictFilesException "InvalidMaxConflictFilesException"
The specified value for the number of conflict files to return is not valid.

* ErrCodeInvalidMaxMergeHunksException "InvalidMaxMergeHunksException"
The specified value for the number of merge hunks to return is not valid.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDescribeMergeConflicts

func (*CodeCommit) BatchDescribeMergeConflictsRequest

func (c *CodeCommit) BatchDescribeMergeConflictsRequest(input *BatchDescribeMergeConflictsInput) (req *request.Request, output *BatchDescribeMergeConflictsOutput)

BatchDescribeMergeConflictsRequest generates a "aws/request.Request" representing the client's request for the BatchDescribeMergeConflicts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDescribeMergeConflicts for more information on using the BatchDescribeMergeConflicts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDescribeMergeConflictsRequest method.
req, resp := client.BatchDescribeMergeConflictsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDescribeMergeConflicts

func (*CodeCommit) BatchDescribeMergeConflictsWithContext

func (c *CodeCommit) BatchDescribeMergeConflictsWithContext(ctx aws.Context, input *BatchDescribeMergeConflictsInput, opts ...request.Option) (*BatchDescribeMergeConflictsOutput, error)

BatchDescribeMergeConflictsWithContext is the same as BatchDescribeMergeConflicts with the addition of the ability to pass a context and additional request options.

See BatchDescribeMergeConflicts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) BatchGetRepositories

func (c *CodeCommit) BatchGetRepositories(input *BatchGetRepositoriesInput) (*BatchGetRepositoriesOutput, error)

BatchGetRepositories API operation for AWS CodeCommit.

Returns information about one or more repositories.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation BatchGetRepositories for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNamesRequiredException "RepositoryNamesRequiredException"
A repository names object is required but was not specified.

* ErrCodeMaximumRepositoryNamesExceededException "MaximumRepositoryNamesExceededException"
The maximum number of allowed repository names was exceeded. Currently, this
number is 25.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories

func (*CodeCommit) BatchGetRepositoriesRequest

func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInput) (req *request.Request, output *BatchGetRepositoriesOutput)

BatchGetRepositoriesRequest generates a "aws/request.Request" representing the client's request for the BatchGetRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetRepositories for more information on using the BatchGetRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetRepositoriesRequest method.
req, resp := client.BatchGetRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories

func (*CodeCommit) BatchGetRepositoriesWithContext

func (c *CodeCommit) BatchGetRepositoriesWithContext(ctx aws.Context, input *BatchGetRepositoriesInput, opts ...request.Option) (*BatchGetRepositoriesOutput, error)

BatchGetRepositoriesWithContext is the same as BatchGetRepositories with the addition of the ability to pass a context and additional request options.

See BatchGetRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateBranch

func (c *CodeCommit) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error)

CreateBranch API operation for AWS CodeCommit.

Creates a new branch in a repository and points the branch to a commit.

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateBranch for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeBranchNameExistsException "BranchNameExistsException"
The specified branch name already exists.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeCommitIdRequiredException "CommitIdRequiredException"
A commit ID was not specified.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch

func (*CodeCommit) CreateBranchRequest

func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput)

CreateBranchRequest generates a "aws/request.Request" representing the client's request for the CreateBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBranch for more information on using the CreateBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBranchRequest method.
req, resp := client.CreateBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch

func (*CodeCommit) CreateBranchWithContext

func (c *CodeCommit) CreateBranchWithContext(ctx aws.Context, input *CreateBranchInput, opts ...request.Option) (*CreateBranchOutput, error)

CreateBranchWithContext is the same as CreateBranch with the addition of the ability to pass a context and additional request options.

See CreateBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateCommit

func (c *CodeCommit) CreateCommit(input *CreateCommitInput) (*CreateCommitOutput, error)

CreateCommit API operation for AWS CodeCommit.

Creates a commit for a repository on the tip of a specified branch.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateCommit for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeParentCommitIdRequiredException "ParentCommitIdRequiredException"
A parent commit ID is required. To view the full commit ID of a branch in
a repository, use GetBranch or a Git command (for example, git pull or git
log).

* ErrCodeInvalidParentCommitIdException "InvalidParentCommitIdException"
The parent commit ID is not valid. The commit ID cannot be empty, and must
match the head commit ID for the branch of the repository where you want
to add or update a file.

* ErrCodeParentCommitDoesNotExistException "ParentCommitDoesNotExistException"
The parent commit ID is not valid because it does not exist. The specified
parent commit ID does not exist in the specified branch of the repository.

* ErrCodeParentCommitIdOutdatedException "ParentCommitIdOutdatedException"
The file could not be added because the provided parent commit ID is not
the current tip of the specified branch. To view the full commit ID of the
current head of the branch, use GetBranch.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
The specified branch does not exist.

* ErrCodeBranchNameIsTagNameException "BranchNameIsTagNameException"
The specified branch name is not valid because it is a tag name. Type the
name of a current branch in the repository. For a list of valid branch names,
use ListBranches.

* ErrCodeFileEntryRequiredException "FileEntryRequiredException"
The commit cannot be created because no files have been specified as added,
updated, or changed (PutFile or DeleteFile) for the commit.

* ErrCodeMaximumFileEntriesExceededException "MaximumFileEntriesExceededException"
The number of specified files to change as part of this commit exceeds the
maximum number of files that can be changed in a single commit. Consider
using a Git client for these changes.

* ErrCodePutFileEntryConflictException "PutFileEntryConflictException"
The commit cannot be created because one or more files specified in the commit
reference both a file and a folder.

* ErrCodeSourceFileOrContentRequiredException "SourceFileOrContentRequiredException"
The commit cannot be created because no source files or file content have
been specified for the commit.

* ErrCodeFileContentAndSourceFileSpecifiedException "FileContentAndSourceFileSpecifiedException"
The commit cannot be created because both a source file and file content
have been specified for the same file. You cannot provide both. Either specify
a source file, or provide the file content directly.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeSamePathRequestException "SamePathRequestException"
The commit cannot be created because one or more changes in this commit duplicate
actions in the same file path. For example, you cannot make the same delete
request to the same file in the same file path twice, or make a delete request
and a move request to the same file as part of the same commit.

* ErrCodeFileDoesNotExistException "FileDoesNotExistException"
The specified file does not exist. Verify that you have provided the correct
name of the file, including its full path and extension.

* ErrCodeFileContentSizeLimitExceededException "FileContentSizeLimitExceededException"
The file cannot be added because it is too large. The maximum file size that
can be added is 6 MB, and the combined file content change size is 7 MB.
Consider making these changes using a Git client.

* ErrCodeFolderContentSizeLimitExceededException "FolderContentSizeLimitExceededException"
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* ErrCodeInvalidDeletionParameterException "InvalidDeletionParameterException"
The specified deletion parameter is not valid.

* ErrCodeRestrictedSourceFileException "RestrictedSourceFileException"
The commit cannot be created because one of the changes specifies copying
or moving a .gitkeep file.

* ErrCodeFileModeRequiredException "FileModeRequiredException"
The commit cannot be created because a file mode is required to update mode
permissions for an existing file, but no file mode has been specified.

* ErrCodeInvalidFileModeException "InvalidFileModeException"
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* ErrCodeNameLengthExceededException "NameLengthExceededException"
The user name is not valid because it has exceeded the character limit for
file names. File names, including the path to the file, cannot exceed the
character limit.

* ErrCodeInvalidEmailException "InvalidEmailException"
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* ErrCodeCommitMessageLengthExceededException "CommitMessageLengthExceededException"
The commit message is too long. Provide a shorter string.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeNoChangeException "NoChangeException"
The commit cannot be created because no changes will be made to the repository
as a result of this commit. A commit must contain at least one change.

* ErrCodeFileNameConflictsWithDirectoryNameException "FileNameConflictsWithDirectoryNameException"
A file cannot be added to the repository because the specified file name
has the same name as a directory in this repository. Either provide another
name for the file, or add the file in a directory that does not match the
file name.

* ErrCodeDirectoryNameConflictsWithFileNameException "DirectoryNameConflictsWithFileNameException"
A file cannot be added to the repository because the specified path name
has the same name as a file that already exists in this repository. Either
provide a different name for the file, or specify a different path for the
file.

* ErrCodeFilePathConflictsWithSubmodulePathException "FilePathConflictsWithSubmodulePathException"
The commit cannot be created because a specified file path points to a submodule.
Verify that the destination files have valid file paths that do not point
to a submodule.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateCommit

func (*CodeCommit) CreateCommitRequest

func (c *CodeCommit) CreateCommitRequest(input *CreateCommitInput) (req *request.Request, output *CreateCommitOutput)

CreateCommitRequest generates a "aws/request.Request" representing the client's request for the CreateCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCommit for more information on using the CreateCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateCommitRequest method.
req, resp := client.CreateCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateCommit

func (*CodeCommit) CreateCommitWithContext

func (c *CodeCommit) CreateCommitWithContext(ctx aws.Context, input *CreateCommitInput, opts ...request.Option) (*CreateCommitOutput, error)

CreateCommitWithContext is the same as CreateCommit with the addition of the ability to pass a context and additional request options.

See CreateCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreatePullRequest

func (c *CodeCommit) CreatePullRequest(input *CreatePullRequestInput) (*CreatePullRequestOutput, error)

CreatePullRequest API operation for AWS CodeCommit.

Creates a pull request in the specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreatePullRequest for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeClientRequestTokenRequiredException "ClientRequestTokenRequiredException"
A client request token is required. A client request token is an unique,
client-generated idempotency token that when provided in a request, ensures
the request cannot be repeated with a changed parameter. If a request is
received with the same parameters and a token is included, the request will
return information about the initial request that used that token.

* ErrCodeInvalidClientRequestTokenException "InvalidClientRequestTokenException"
The client request token is not valid.

* ErrCodeIdempotencyParameterMismatchException "IdempotencyParameterMismatchException"
The client request token is not valid. Either the token is not in a valid
format, or the token has been used in a previous request and cannot be re-used.

* ErrCodeReferenceNameRequiredException "ReferenceNameRequiredException"
A reference name is required, but none was provided.

* ErrCodeInvalidReferenceNameException "InvalidReferenceNameException"
The specified reference name format is not valid. Reference names must conform
to the Git references format, for example refs/heads/master. For more information,
see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References)
or consult your Git documentation.

* ErrCodeReferenceDoesNotExistException "ReferenceDoesNotExistException"
The specified reference does not exist. You must provide a full commit ID.

* ErrCodeReferenceTypeNotSupportedException "ReferenceTypeNotSupportedException"
The specified reference is not a supported type.

* ErrCodeTitleRequiredException "TitleRequiredException"
A pull request title is required. It cannot be empty or null.

* ErrCodeInvalidTitleException "InvalidTitleException"
The title of the pull request is not valid. Pull request titles cannot exceed
100 characters in length.

* ErrCodeInvalidDescriptionException "InvalidDescriptionException"
The pull request description is not valid. Descriptions are limited to 1,000
characters in length.

* ErrCodeTargetsRequiredException "TargetsRequiredException"
An array of target objects is required. It cannot be empty or null.

* ErrCodeInvalidTargetsException "InvalidTargetsException"
The targets for the pull request is not valid or not in a valid format. Targets
are a list of target objects. Each target object must contain the full values
for the repository name, source branch, and destination branch for a pull
request.

* ErrCodeTargetRequiredException "TargetRequiredException"
A pull request target is required. It cannot be empty or null. A pull request
target must contain the full values for the repository name, source branch,
and destination branch for the pull request.

* ErrCodeInvalidTargetException "InvalidTargetException"
The target for the pull request is not valid. A target must contain the full
values for the repository name, source branch, and destination branch for
the pull request.

* ErrCodeMultipleRepositoriesInPullRequestException "MultipleRepositoriesInPullRequestException"
You cannot include more than one repository in a pull request. Make sure
you have specified only one repository name in your request, and then try
again.

* ErrCodeMaximumOpenPullRequestsExceededException "MaximumOpenPullRequestsExceededException"
You cannot create the pull request because the repository has too many open
pull requests. The maximum number of open pull requests for a repository
is 1,000. Close one or more open pull requests, and then try again.

* ErrCodeSourceAndDestinationAreSameException "SourceAndDestinationAreSameException"
The source branch and the destination branch for the pull request are the
same. You must specify different branches for the source and destination.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest

func (*CodeCommit) CreatePullRequestRequest

func (c *CodeCommit) CreatePullRequestRequest(input *CreatePullRequestInput) (req *request.Request, output *CreatePullRequestOutput)

CreatePullRequestRequest generates a "aws/request.Request" representing the client's request for the CreatePullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePullRequest for more information on using the CreatePullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePullRequestRequest method.
req, resp := client.CreatePullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest

func (*CodeCommit) CreatePullRequestWithContext

func (c *CodeCommit) CreatePullRequestWithContext(ctx aws.Context, input *CreatePullRequestInput, opts ...request.Option) (*CreatePullRequestOutput, error)

CreatePullRequestWithContext is the same as CreatePullRequest with the addition of the ability to pass a context and additional request options.

See CreatePullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateRepository

func (c *CodeCommit) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)

CreateRepository API operation for AWS CodeCommit.

Creates a new, empty repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateRepository for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameExistsException "RepositoryNameExistsException"
The specified repository name already exists.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeInvalidRepositoryDescriptionException "InvalidRepositoryDescriptionException"
The specified repository description is not valid.

* ErrCodeRepositoryLimitExceededException "RepositoryLimitExceededException"
A repository resource limit was exceeded.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeInvalidTagsMapException "InvalidTagsMapException"
The map of tags is not valid.

* ErrCodeTooManyTagsException "TooManyTagsException"
The maximum number of tags for an AWS CodeCommit resource has been exceeded.

* ErrCodeInvalidSystemTagUsageException "InvalidSystemTagUsageException"
The specified tag is not valid. Key names cannot be prefixed with aws:.

* ErrCodeTagPolicyException "TagPolicyException"
The tag policy is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository

func (*CodeCommit) CreateRepositoryRequest

func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)

CreateRepositoryRequest generates a "aws/request.Request" representing the client's request for the CreateRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRepository for more information on using the CreateRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRepositoryRequest method.
req, resp := client.CreateRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository

func (*CodeCommit) CreateRepositoryWithContext

func (c *CodeCommit) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)

CreateRepositoryWithContext is the same as CreateRepository with the addition of the ability to pass a context and additional request options.

See CreateRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateUnreferencedMergeCommit

func (c *CodeCommit) CreateUnreferencedMergeCommit(input *CreateUnreferencedMergeCommitInput) (*CreateUnreferencedMergeCommitOutput, error)

CreateUnreferencedMergeCommit API operation for AWS CodeCommit.

Creates an unerferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge.

This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateUnreferencedMergeCommit for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeMergeOptionRequiredException "MergeOptionRequiredException"
A merge option or stategy is required, and none was provided.

* ErrCodeInvalidMergeOptionException "InvalidMergeOptionException"
The specified merge option is not valid for this operation. Not all merge
strategies are supported for all operations.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeInvalidConflictResolutionException "InvalidConflictResolutionException"
The specified conflict resolution list is not valid.

* ErrCodeManualMergeRequiredException "ManualMergeRequiredException"
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ErrCodeMaximumConflictResolutionEntriesExceededException "MaximumConflictResolutionEntriesExceededException"
The number of allowed conflict resolution entries was exceeded.

* ErrCodeMultipleConflictResolutionEntriesException "MultipleConflictResolutionEntriesException"
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ErrCodeReplacementTypeRequiredException "ReplacementTypeRequiredException"
A replacement type is required.

* ErrCodeInvalidReplacementTypeException "InvalidReplacementTypeException"
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* ErrCodeReplacementContentRequiredException "ReplacementContentRequiredException"
USE_NEW_CONTENT was specified but no replacement content has been provided.

* ErrCodeInvalidReplacementContentException "InvalidReplacementContentException"
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeFileContentSizeLimitExceededException "FileContentSizeLimitExceededException"
The file cannot be added because it is too large. The maximum file size that
can be added is 6 MB, and the combined file content change size is 7 MB.
Consider making these changes using a Git client.

* ErrCodeFolderContentSizeLimitExceededException "FolderContentSizeLimitExceededException"
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeFileModeRequiredException "FileModeRequiredException"
The commit cannot be created because a file mode is required to update mode
permissions for an existing file, but no file mode has been specified.

* ErrCodeInvalidFileModeException "InvalidFileModeException"
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* ErrCodeNameLengthExceededException "NameLengthExceededException"
The user name is not valid because it has exceeded the character limit for
file names. File names, including the path to the file, cannot exceed the
character limit.

* ErrCodeInvalidEmailException "InvalidEmailException"
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* ErrCodeCommitMessageLengthExceededException "CommitMessageLengthExceededException"
The commit message is too long. Provide a shorter string.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommit

func (*CodeCommit) CreateUnreferencedMergeCommitRequest

func (c *CodeCommit) CreateUnreferencedMergeCommitRequest(input *CreateUnreferencedMergeCommitInput) (req *request.Request, output *CreateUnreferencedMergeCommitOutput)

CreateUnreferencedMergeCommitRequest generates a "aws/request.Request" representing the client's request for the CreateUnreferencedMergeCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateUnreferencedMergeCommit for more information on using the CreateUnreferencedMergeCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateUnreferencedMergeCommitRequest method.
req, resp := client.CreateUnreferencedMergeCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommit

func (*CodeCommit) CreateUnreferencedMergeCommitWithContext

func (c *CodeCommit) CreateUnreferencedMergeCommitWithContext(ctx aws.Context, input *CreateUnreferencedMergeCommitInput, opts ...request.Option) (*CreateUnreferencedMergeCommitOutput, error)

CreateUnreferencedMergeCommitWithContext is the same as CreateUnreferencedMergeCommit with the addition of the ability to pass a context and additional request options.

See CreateUnreferencedMergeCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteBranch

func (c *CodeCommit) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error)

DeleteBranch API operation for AWS CodeCommit.

Deletes a branch from a repository, unless that branch is the default branch for the repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteBranch for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeDefaultBranchCannotBeDeletedException "DefaultBranchCannotBeDeletedException"
The specified branch is the default branch for the repository, and cannot
be deleted. To delete this branch, you must first set another branch as the
default branch.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch

func (*CodeCommit) DeleteBranchRequest

func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput)

DeleteBranchRequest generates a "aws/request.Request" representing the client's request for the DeleteBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBranch for more information on using the DeleteBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBranchRequest method.
req, resp := client.DeleteBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch

func (*CodeCommit) DeleteBranchWithContext

func (c *CodeCommit) DeleteBranchWithContext(ctx aws.Context, input *DeleteBranchInput, opts ...request.Option) (*DeleteBranchOutput, error)

DeleteBranchWithContext is the same as DeleteBranch with the addition of the ability to pass a context and additional request options.

See DeleteBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteCommentContent

func (c *CodeCommit) DeleteCommentContent(input *DeleteCommentContentInput) (*DeleteCommentContentOutput, error)

DeleteCommentContent API operation for AWS CodeCommit.

Deletes the content of a comment made on a change, file, or commit in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteCommentContent for usage and error information.

Returned Error Codes:

* ErrCodeCommentDoesNotExistException "CommentDoesNotExistException"
No comment exists with the provided ID. Verify that you have provided the
correct ID, and then try again.

* ErrCodeCommentIdRequiredException "CommentIdRequiredException"
The comment ID is missing or null. A comment ID is required.

* ErrCodeInvalidCommentIdException "InvalidCommentIdException"
The comment ID is not in a valid format. Make sure that you have provided
the full comment ID.

* ErrCodeCommentDeletedException "CommentDeletedException"
This comment has already been deleted. You cannot edit or delete a deleted
comment.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent

func (*CodeCommit) DeleteCommentContentRequest

func (c *CodeCommit) DeleteCommentContentRequest(input *DeleteCommentContentInput) (req *request.Request, output *DeleteCommentContentOutput)

DeleteCommentContentRequest generates a "aws/request.Request" representing the client's request for the DeleteCommentContent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCommentContent for more information on using the DeleteCommentContent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteCommentContentRequest method.
req, resp := client.DeleteCommentContentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent

func (*CodeCommit) DeleteCommentContentWithContext

func (c *CodeCommit) DeleteCommentContentWithContext(ctx aws.Context, input *DeleteCommentContentInput, opts ...request.Option) (*DeleteCommentContentOutput, error)

DeleteCommentContentWithContext is the same as DeleteCommentContent with the addition of the ability to pass a context and additional request options.

See DeleteCommentContent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteFile

func (c *CodeCommit) DeleteFile(input *DeleteFileInput) (*DeleteFileOutput, error)

DeleteFile API operation for AWS CodeCommit.

Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file will still exist in the commits prior to the commit that contains the deletion.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteFile for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeParentCommitIdRequiredException "ParentCommitIdRequiredException"
A parent commit ID is required. To view the full commit ID of a branch in
a repository, use GetBranch or a Git command (for example, git pull or git
log).

* ErrCodeInvalidParentCommitIdException "InvalidParentCommitIdException"
The parent commit ID is not valid. The commit ID cannot be empty, and must
match the head commit ID for the branch of the repository where you want
to add or update a file.

* ErrCodeParentCommitDoesNotExistException "ParentCommitDoesNotExistException"
The parent commit ID is not valid because it does not exist. The specified
parent commit ID does not exist in the specified branch of the repository.

* ErrCodeParentCommitIdOutdatedException "ParentCommitIdOutdatedException"
The file could not be added because the provided parent commit ID is not
the current tip of the specified branch. To view the full commit ID of the
current head of the branch, use GetBranch.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeFileDoesNotExistException "FileDoesNotExistException"
The specified file does not exist. Verify that you have provided the correct
name of the file, including its full path and extension.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
The specified branch does not exist.

* ErrCodeBranchNameIsTagNameException "BranchNameIsTagNameException"
The specified branch name is not valid because it is a tag name. Type the
name of a current branch in the repository. For a list of valid branch names,
use ListBranches.

* ErrCodeNameLengthExceededException "NameLengthExceededException"
The user name is not valid because it has exceeded the character limit for
file names. File names, including the path to the file, cannot exceed the
character limit.

* ErrCodeInvalidEmailException "InvalidEmailException"
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* ErrCodeCommitMessageLengthExceededException "CommitMessageLengthExceededException"
The commit message is too long. Provide a shorter string.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFile

func (*CodeCommit) DeleteFileRequest

func (c *CodeCommit) DeleteFileRequest(input *DeleteFileInput) (req *request.Request, output *DeleteFileOutput)

DeleteFileRequest generates a "aws/request.Request" representing the client's request for the DeleteFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFile for more information on using the DeleteFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFileRequest method.
req, resp := client.DeleteFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFile

func (*CodeCommit) DeleteFileWithContext

func (c *CodeCommit) DeleteFileWithContext(ctx aws.Context, input *DeleteFileInput, opts ...request.Option) (*DeleteFileOutput, error)

DeleteFileWithContext is the same as DeleteFile with the addition of the ability to pass a context and additional request options.

See DeleteFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteRepository

func (c *CodeCommit) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)

DeleteRepository API operation for AWS CodeCommit.

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteRepository for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

func (*CodeCommit) DeleteRepositoryRequest

func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)

DeleteRepositoryRequest generates a "aws/request.Request" representing the client's request for the DeleteRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRepository for more information on using the DeleteRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRepositoryRequest method.
req, resp := client.DeleteRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

func (*CodeCommit) DeleteRepositoryWithContext

func (c *CodeCommit) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)

DeleteRepositoryWithContext is the same as DeleteRepository with the addition of the ability to pass a context and additional request options.

See DeleteRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribeMergeConflicts

func (c *CodeCommit) DescribeMergeConflicts(input *DescribeMergeConflictsInput) (*DescribeMergeConflictsOutput, error)

DescribeMergeConflicts API operation for AWS CodeCommit.

Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception will be thrown.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DescribeMergeConflicts for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeMergeOptionRequiredException "MergeOptionRequiredException"
A merge option or stategy is required, and none was provided.

* ErrCodeInvalidMergeOptionException "InvalidMergeOptionException"
The specified merge option is not valid for this operation. Not all merge
strategies are supported for all operations.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeFileDoesNotExistException "FileDoesNotExistException"
The specified file does not exist. Verify that you have provided the correct
name of the file, including its full path and extension.

* ErrCodeInvalidMaxMergeHunksException "InvalidMaxMergeHunksException"
The specified value for the number of merge hunks to return is not valid.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribeMergeConflicts

func (*CodeCommit) DescribeMergeConflictsPages

func (c *CodeCommit) DescribeMergeConflictsPages(input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool) error

DescribeMergeConflictsPages iterates over the pages of a DescribeMergeConflicts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeMergeConflicts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeMergeConflicts operation.
pageNum := 0
err := client.DescribeMergeConflictsPages(params,
    func(page *codecommit.DescribeMergeConflictsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) DescribeMergeConflictsPagesWithContext

func (c *CodeCommit) DescribeMergeConflictsPagesWithContext(ctx aws.Context, input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool, opts ...request.Option) error

DescribeMergeConflictsPagesWithContext same as DescribeMergeConflictsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribeMergeConflictsRequest

func (c *CodeCommit) DescribeMergeConflictsRequest(input *DescribeMergeConflictsInput) (req *request.Request, output *DescribeMergeConflictsOutput)

DescribeMergeConflictsRequest generates a "aws/request.Request" representing the client's request for the DescribeMergeConflicts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMergeConflicts for more information on using the DescribeMergeConflicts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMergeConflictsRequest method.
req, resp := client.DescribeMergeConflictsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribeMergeConflicts

func (*CodeCommit) DescribeMergeConflictsWithContext

func (c *CodeCommit) DescribeMergeConflictsWithContext(ctx aws.Context, input *DescribeMergeConflictsInput, opts ...request.Option) (*DescribeMergeConflictsOutput, error)

DescribeMergeConflictsWithContext is the same as DescribeMergeConflicts with the addition of the ability to pass a context and additional request options.

See DescribeMergeConflicts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribePullRequestEvents

func (c *CodeCommit) DescribePullRequestEvents(input *DescribePullRequestEventsInput) (*DescribePullRequestEventsOutput, error)

DescribePullRequestEvents API operation for AWS CodeCommit.

Returns information about one or more pull request events.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DescribePullRequestEvents for usage and error information.

Returned Error Codes:

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeInvalidPullRequestEventTypeException "InvalidPullRequestEventTypeException"
The pull request event type is not valid.

* ErrCodeInvalidActorArnException "InvalidActorArnException"
The Amazon Resource Name (ARN) is not valid. Make sure that you have provided
the full ARN for the user who initiated the change for the pull request,
and then try again.

* ErrCodeActorDoesNotExistException "ActorDoesNotExistException"
The specified Amazon Resource Name (ARN) does not exist in the AWS account.

* ErrCodeInvalidMaxResultsException "InvalidMaxResultsException"
The specified number of maximum results is not valid.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents

func (*CodeCommit) DescribePullRequestEventsPages

func (c *CodeCommit) DescribePullRequestEventsPages(input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool) error

DescribePullRequestEventsPages iterates over the pages of a DescribePullRequestEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribePullRequestEvents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribePullRequestEvents operation.
pageNum := 0
err := client.DescribePullRequestEventsPages(params,
    func(page *codecommit.DescribePullRequestEventsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) DescribePullRequestEventsPagesWithContext

func (c *CodeCommit) DescribePullRequestEventsPagesWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool, opts ...request.Option) error

DescribePullRequestEventsPagesWithContext same as DescribePullRequestEventsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribePullRequestEventsRequest

func (c *CodeCommit) DescribePullRequestEventsRequest(input *DescribePullRequestEventsInput) (req *request.Request, output *DescribePullRequestEventsOutput)

DescribePullRequestEventsRequest generates a "aws/request.Request" representing the client's request for the DescribePullRequestEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePullRequestEvents for more information on using the DescribePullRequestEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePullRequestEventsRequest method.
req, resp := client.DescribePullRequestEventsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents

func (*CodeCommit) DescribePullRequestEventsWithContext

func (c *CodeCommit) DescribePullRequestEventsWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, opts ...request.Option) (*DescribePullRequestEventsOutput, error)

DescribePullRequestEventsWithContext is the same as DescribePullRequestEvents with the addition of the ability to pass a context and additional request options.

See DescribePullRequestEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetBlob

func (c *CodeCommit) GetBlob(input *GetBlobInput) (*GetBlobOutput, error)

GetBlob API operation for AWS CodeCommit.

Returns the base-64 encoded content of an individual blob within a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetBlob for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeBlobIdRequiredException "BlobIdRequiredException"
A blob ID is required but was not specified.

* ErrCodeInvalidBlobIdException "InvalidBlobIdException"
The specified blob is not valid.

* ErrCodeBlobIdDoesNotExistException "BlobIdDoesNotExistException"
The specified blob does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeFileTooLargeException "FileTooLargeException"
The specified file exceeds the file size limit for AWS CodeCommit. For more
information about limits in AWS CodeCommit, see AWS CodeCommit User Guide
(https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBlobRequest

func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, output *GetBlobOutput)

GetBlobRequest generates a "aws/request.Request" representing the client's request for the GetBlob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBlob for more information on using the GetBlob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBlobRequest method.
req, resp := client.GetBlobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBlobWithContext

func (c *CodeCommit) GetBlobWithContext(ctx aws.Context, input *GetBlobInput, opts ...request.Option) (*GetBlobOutput, error)

GetBlobWithContext is the same as GetBlob with the addition of the ability to pass a context and additional request options.

See GetBlob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetBranch

func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error)

GetBranch API operation for AWS CodeCommit.

Returns information about a repository branch, including its name and the last commit ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetBranch for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
The specified branch does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetBranchRequest

func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput)

GetBranchRequest generates a "aws/request.Request" representing the client's request for the GetBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBranch for more information on using the GetBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBranchRequest method.
req, resp := client.GetBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetBranchWithContext

func (c *CodeCommit) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error)

GetBranchWithContext is the same as GetBranch with the addition of the ability to pass a context and additional request options.

See GetBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetComment

func (c *CodeCommit) GetComment(input *GetCommentInput) (*GetCommentOutput, error)

GetComment API operation for AWS CodeCommit.

Returns the content of a comment made on a change, file, or commit in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetComment for usage and error information.

Returned Error Codes:

* ErrCodeCommentDoesNotExistException "CommentDoesNotExistException"
No comment exists with the provided ID. Verify that you have provided the
correct ID, and then try again.

* ErrCodeCommentIdRequiredException "CommentIdRequiredException"
The comment ID is missing or null. A comment ID is required.

* ErrCodeInvalidCommentIdException "InvalidCommentIdException"
The comment ID is not in a valid format. Make sure that you have provided
the full comment ID.

* ErrCodeCommentDeletedException "CommentDeletedException"
This comment has already been deleted. You cannot edit or delete a deleted
comment.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment

func (*CodeCommit) GetCommentRequest

func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Request, output *GetCommentOutput)

GetCommentRequest generates a "aws/request.Request" representing the client's request for the GetComment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComment for more information on using the GetComment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentRequest method.
req, resp := client.GetCommentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment

func (*CodeCommit) GetCommentWithContext

func (c *CodeCommit) GetCommentWithContext(ctx aws.Context, input *GetCommentInput, opts ...request.Option) (*GetCommentOutput, error)

GetCommentWithContext is the same as GetComment with the addition of the ability to pass a context and additional request options.

See GetComment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForComparedCommit

func (c *CodeCommit) GetCommentsForComparedCommit(input *GetCommentsForComparedCommitInput) (*GetCommentsForComparedCommitOutput, error)

GetCommentsForComparedCommit API operation for AWS CodeCommit.

Returns information about comments made on the comparison between two commits.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommentsForComparedCommit for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeCommitIdRequiredException "CommitIdRequiredException"
A commit ID was not specified.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidMaxResultsException "InvalidMaxResultsException"
The specified number of maximum results is not valid.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit

func (*CodeCommit) GetCommentsForComparedCommitPages

func (c *CodeCommit) GetCommentsForComparedCommitPages(input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool) error

GetCommentsForComparedCommitPages iterates over the pages of a GetCommentsForComparedCommit operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCommentsForComparedCommit method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetCommentsForComparedCommit operation.
pageNum := 0
err := client.GetCommentsForComparedCommitPages(params,
    func(page *codecommit.GetCommentsForComparedCommitOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetCommentsForComparedCommitPagesWithContext

func (c *CodeCommit) GetCommentsForComparedCommitPagesWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool, opts ...request.Option) error

GetCommentsForComparedCommitPagesWithContext same as GetCommentsForComparedCommitPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForComparedCommitRequest

func (c *CodeCommit) GetCommentsForComparedCommitRequest(input *GetCommentsForComparedCommitInput) (req *request.Request, output *GetCommentsForComparedCommitOutput)

GetCommentsForComparedCommitRequest generates a "aws/request.Request" representing the client's request for the GetCommentsForComparedCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommentsForComparedCommit for more information on using the GetCommentsForComparedCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentsForComparedCommitRequest method.
req, resp := client.GetCommentsForComparedCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit

func (*CodeCommit) GetCommentsForComparedCommitWithContext

func (c *CodeCommit) GetCommentsForComparedCommitWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, opts ...request.Option) (*GetCommentsForComparedCommitOutput, error)

GetCommentsForComparedCommitWithContext is the same as GetCommentsForComparedCommit with the addition of the ability to pass a context and additional request options.

See GetCommentsForComparedCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForPullRequest

func (c *CodeCommit) GetCommentsForPullRequest(input *GetCommentsForPullRequestInput) (*GetCommentsForPullRequestOutput, error)

GetCommentsForPullRequest API operation for AWS CodeCommit.

Returns comments made on a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommentsForPullRequest for usage and error information.

Returned Error Codes:

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeCommitIdRequiredException "CommitIdRequiredException"
A commit ID was not specified.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidMaxResultsException "InvalidMaxResultsException"
The specified number of maximum results is not valid.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

* ErrCodeRepositoryNotAssociatedWithPullRequestException "RepositoryNotAssociatedWithPullRequestException"
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest

func (*CodeCommit) GetCommentsForPullRequestPages

func (c *CodeCommit) GetCommentsForPullRequestPages(input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool) error

GetCommentsForPullRequestPages iterates over the pages of a GetCommentsForPullRequest operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCommentsForPullRequest method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetCommentsForPullRequest operation.
pageNum := 0
err := client.GetCommentsForPullRequestPages(params,
    func(page *codecommit.GetCommentsForPullRequestOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetCommentsForPullRequestPagesWithContext

func (c *CodeCommit) GetCommentsForPullRequestPagesWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool, opts ...request.Option) error

GetCommentsForPullRequestPagesWithContext same as GetCommentsForPullRequestPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForPullRequestRequest

func (c *CodeCommit) GetCommentsForPullRequestRequest(input *GetCommentsForPullRequestInput) (req *request.Request, output *GetCommentsForPullRequestOutput)

GetCommentsForPullRequestRequest generates a "aws/request.Request" representing the client's request for the GetCommentsForPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommentsForPullRequest for more information on using the GetCommentsForPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentsForPullRequestRequest method.
req, resp := client.GetCommentsForPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest

func (*CodeCommit) GetCommentsForPullRequestWithContext

func (c *CodeCommit) GetCommentsForPullRequestWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, opts ...request.Option) (*GetCommentsForPullRequestOutput, error)

GetCommentsForPullRequestWithContext is the same as GetCommentsForPullRequest with the addition of the ability to pass a context and additional request options.

See GetCommentsForPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommit

func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error)

GetCommit API operation for AWS CodeCommit.

Returns information about a commit, including commit message and committer information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommit for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeCommitIdRequiredException "CommitIdRequiredException"
A commit ID was not specified.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeCommitIdDoesNotExistException "CommitIdDoesNotExistException"
The specified commit ID does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

func (*CodeCommit) GetCommitRequest

func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput)

GetCommitRequest generates a "aws/request.Request" representing the client's request for the GetCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommit for more information on using the GetCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommitRequest method.
req, resp := client.GetCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

func (*CodeCommit) GetCommitWithContext

func (c *CodeCommit) GetCommitWithContext(ctx aws.Context, input *GetCommitInput, opts ...request.Option) (*GetCommitOutput, error)

GetCommitWithContext is the same as GetCommit with the addition of the ability to pass a context and additional request options.

See GetCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetDifferences

func (c *CodeCommit) GetDifferences(input *GetDifferencesInput) (*GetDifferencesOutput, error)

GetDifferences API operation for AWS CodeCommit.

Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference). Results can be limited to a specified path.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetDifferences for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

* ErrCodeInvalidMaxResultsException "InvalidMaxResultsException"
The specified number of maximum results is not valid.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodePathDoesNotExistException "PathDoesNotExistException"
The specified path does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetDifferencesPages

func (c *CodeCommit) GetDifferencesPages(input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool) error

GetDifferencesPages iterates over the pages of a GetDifferences operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDifferences method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDifferences operation.
pageNum := 0
err := client.GetDifferencesPages(params,
    func(page *codecommit.GetDifferencesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetDifferencesPagesWithContext

func (c *CodeCommit) GetDifferencesPagesWithContext(ctx aws.Context, input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool, opts ...request.Option) error

GetDifferencesPagesWithContext same as GetDifferencesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetDifferencesRequest

func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *request.Request, output *GetDifferencesOutput)

GetDifferencesRequest generates a "aws/request.Request" representing the client's request for the GetDifferences operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDifferences for more information on using the GetDifferences API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDifferencesRequest method.
req, resp := client.GetDifferencesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetDifferencesWithContext

func (c *CodeCommit) GetDifferencesWithContext(ctx aws.Context, input *GetDifferencesInput, opts ...request.Option) (*GetDifferencesOutput, error)

GetDifferencesWithContext is the same as GetDifferences with the addition of the ability to pass a context and additional request options.

See GetDifferences for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetFile

func (c *CodeCommit) GetFile(input *GetFileInput) (*GetFileOutput, error)

GetFile API operation for AWS CodeCommit.

Returns the base-64 encoded contents of a specified file and its metadata.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetFile for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeFileDoesNotExistException "FileDoesNotExistException"
The specified file does not exist. Verify that you have provided the correct
name of the file, including its full path and extension.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeFileTooLargeException "FileTooLargeException"
The specified file exceeds the file size limit for AWS CodeCommit. For more
information about limits in AWS CodeCommit, see AWS CodeCommit User Guide
(https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFile

func (*CodeCommit) GetFileRequest

func (c *CodeCommit) GetFileRequest(input *GetFileInput) (req *request.Request, output *GetFileOutput)

GetFileRequest generates a "aws/request.Request" representing the client's request for the GetFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFile for more information on using the GetFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFileRequest method.
req, resp := client.GetFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFile

func (*CodeCommit) GetFileWithContext

func (c *CodeCommit) GetFileWithContext(ctx aws.Context, input *GetFileInput, opts ...request.Option) (*GetFileOutput, error)

GetFileWithContext is the same as GetFile with the addition of the ability to pass a context and additional request options.

See GetFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetFolder

func (c *CodeCommit) GetFolder(input *GetFolderInput) (*GetFolderOutput, error)

GetFolder API operation for AWS CodeCommit.

Returns the contents of a specified folder in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetFolder for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeFolderDoesNotExistException "FolderDoesNotExistException"
The specified folder does not exist. Either the folder name is not correct,
or you did not provide the full path to the folder.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder

func (*CodeCommit) GetFolderRequest

func (c *CodeCommit) GetFolderRequest(input *GetFolderInput) (req *request.Request, output *GetFolderOutput)

GetFolderRequest generates a "aws/request.Request" representing the client's request for the GetFolder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFolder for more information on using the GetFolder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFolderRequest method.
req, resp := client.GetFolderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder

func (*CodeCommit) GetFolderWithContext

func (c *CodeCommit) GetFolderWithContext(ctx aws.Context, input *GetFolderInput, opts ...request.Option) (*GetFolderOutput, error)

GetFolderWithContext is the same as GetFolder with the addition of the ability to pass a context and additional request options.

See GetFolder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeCommit

func (c *CodeCommit) GetMergeCommit(input *GetMergeCommitInput) (*GetMergeCommitOutput, error)

GetMergeCommit API operation for AWS CodeCommit.

Returns information about a specified merge commit.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeCommit for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommit

func (*CodeCommit) GetMergeCommitRequest

func (c *CodeCommit) GetMergeCommitRequest(input *GetMergeCommitInput) (req *request.Request, output *GetMergeCommitOutput)

GetMergeCommitRequest generates a "aws/request.Request" representing the client's request for the GetMergeCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeCommit for more information on using the GetMergeCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeCommitRequest method.
req, resp := client.GetMergeCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommit

func (*CodeCommit) GetMergeCommitWithContext

func (c *CodeCommit) GetMergeCommitWithContext(ctx aws.Context, input *GetMergeCommitInput, opts ...request.Option) (*GetMergeCommitOutput, error)

GetMergeCommitWithContext is the same as GetMergeCommit with the addition of the ability to pass a context and additional request options.

See GetMergeCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeConflicts

func (c *CodeCommit) GetMergeConflicts(input *GetMergeConflictsInput) (*GetMergeConflictsOutput, error)

GetMergeConflicts API operation for AWS CodeCommit.

Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeConflicts for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeMergeOptionRequiredException "MergeOptionRequiredException"
A merge option or stategy is required, and none was provided.

* ErrCodeInvalidMergeOptionException "InvalidMergeOptionException"
The specified merge option is not valid for this operation. Not all merge
strategies are supported for all operations.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeInvalidMaxConflictFilesException "InvalidMaxConflictFilesException"
The specified value for the number of conflict files to return is not valid.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidDestinationCommitSpecifierException "InvalidDestinationCommitSpecifierException"
The destination commit specifier is not valid. You must provide a valid branch
name, tag, or full commit ID.

* ErrCodeInvalidSourceCommitSpecifierException "InvalidSourceCommitSpecifierException"
The source commit specifier is not valid. You must provide a valid branch
name, tag, or full commit ID.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts

func (*CodeCommit) GetMergeConflictsPages

func (c *CodeCommit) GetMergeConflictsPages(input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool) error

GetMergeConflictsPages iterates over the pages of a GetMergeConflicts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetMergeConflicts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetMergeConflicts operation.
pageNum := 0
err := client.GetMergeConflictsPages(params,
    func(page *codecommit.GetMergeConflictsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetMergeConflictsPagesWithContext

func (c *CodeCommit) GetMergeConflictsPagesWithContext(ctx aws.Context, input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool, opts ...request.Option) error

GetMergeConflictsPagesWithContext same as GetMergeConflictsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeConflictsRequest

func (c *CodeCommit) GetMergeConflictsRequest(input *GetMergeConflictsInput) (req *request.Request, output *GetMergeConflictsOutput)

GetMergeConflictsRequest generates a "aws/request.Request" representing the client's request for the GetMergeConflicts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeConflicts for more information on using the GetMergeConflicts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeConflictsRequest method.
req, resp := client.GetMergeConflictsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts

func (*CodeCommit) GetMergeConflictsWithContext

func (c *CodeCommit) GetMergeConflictsWithContext(ctx aws.Context, input *GetMergeConflictsInput, opts ...request.Option) (*GetMergeConflictsOutput, error)

GetMergeConflictsWithContext is the same as GetMergeConflicts with the addition of the ability to pass a context and additional request options.

See GetMergeConflicts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeOptions

func (c *CodeCommit) GetMergeOptions(input *GetMergeOptionsInput) (*GetMergeOptionsOutput, error)

GetMergeOptions API operation for AWS CodeCommit.

Returns information about the merge options available for merging two specified branches. For details about why a particular merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeOptions for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptions

func (*CodeCommit) GetMergeOptionsRequest

func (c *CodeCommit) GetMergeOptionsRequest(input *GetMergeOptionsInput) (req *request.Request, output *GetMergeOptionsOutput)

GetMergeOptionsRequest generates a "aws/request.Request" representing the client's request for the GetMergeOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeOptions for more information on using the GetMergeOptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeOptionsRequest method.
req, resp := client.GetMergeOptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptions

func (*CodeCommit) GetMergeOptionsWithContext

func (c *CodeCommit) GetMergeOptionsWithContext(ctx aws.Context, input *GetMergeOptionsInput, opts ...request.Option) (*GetMergeOptionsOutput, error)

GetMergeOptionsWithContext is the same as GetMergeOptions with the addition of the ability to pass a context and additional request options.

See GetMergeOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetPullRequest

func (c *CodeCommit) GetPullRequest(input *GetPullRequestInput) (*GetPullRequestOutput, error)

GetPullRequest API operation for AWS CodeCommit.

Gets information about a pull request in a specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetPullRequest for usage and error information.

Returned Error Codes:

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest

func (*CodeCommit) GetPullRequestRequest

func (c *CodeCommit) GetPullRequestRequest(input *GetPullRequestInput) (req *request.Request, output *GetPullRequestOutput)

GetPullRequestRequest generates a "aws/request.Request" representing the client's request for the GetPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPullRequest for more information on using the GetPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPullRequestRequest method.
req, resp := client.GetPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest

func (*CodeCommit) GetPullRequestWithContext

func (c *CodeCommit) GetPullRequestWithContext(ctx aws.Context, input *GetPullRequestInput, opts ...request.Option) (*GetPullRequestOutput, error)

GetPullRequestWithContext is the same as GetPullRequest with the addition of the ability to pass a context and additional request options.

See GetPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetRepository

func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error)

GetRepository API operation for AWS CodeCommit.

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetRepository for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryRequest

func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput)

GetRepositoryRequest generates a "aws/request.Request" representing the client's request for the GetRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepository for more information on using the GetRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryRequest method.
req, resp := client.GetRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryTriggers

func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error)

GetRepositoryTriggers API operation for AWS CodeCommit.

Gets information about triggers configured for a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetRepositoryTriggers for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

func (*CodeCommit) GetRepositoryTriggersRequest

func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput)

GetRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepositoryTriggers for more information on using the GetRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryTriggersRequest method.
req, resp := client.GetRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

func (*CodeCommit) GetRepositoryTriggersWithContext

func (c *CodeCommit) GetRepositoryTriggersWithContext(ctx aws.Context, input *GetRepositoryTriggersInput, opts ...request.Option) (*GetRepositoryTriggersOutput, error)

GetRepositoryTriggersWithContext is the same as GetRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See GetRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetRepositoryWithContext

func (c *CodeCommit) GetRepositoryWithContext(ctx aws.Context, input *GetRepositoryInput, opts ...request.Option) (*GetRepositoryOutput, error)

GetRepositoryWithContext is the same as GetRepository with the addition of the ability to pass a context and additional request options.

See GetRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListBranches

func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error)

ListBranches API operation for AWS CodeCommit.

Gets information about one or more branches in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListBranches for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

func (*CodeCommit) ListBranchesPages

func (c *CodeCommit) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error

ListBranchesPages iterates over the pages of a ListBranches operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBranches method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListBranches operation.
pageNum := 0
err := client.ListBranchesPages(params,
    func(page *codecommit.ListBranchesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListBranchesPagesWithContext

func (c *CodeCommit) ListBranchesPagesWithContext(ctx aws.Context, input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool, opts ...request.Option) error

ListBranchesPagesWithContext same as ListBranchesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListBranchesRequest

func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput)

ListBranchesRequest generates a "aws/request.Request" representing the client's request for the ListBranches operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBranches for more information on using the ListBranches API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBranchesRequest method.
req, resp := client.ListBranchesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

func (*CodeCommit) ListBranchesWithContext

func (c *CodeCommit) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error)

ListBranchesWithContext is the same as ListBranches with the addition of the ability to pass a context and additional request options.

See ListBranches for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListPullRequests

func (c *CodeCommit) ListPullRequests(input *ListPullRequestsInput) (*ListPullRequestsOutput, error)

ListPullRequests API operation for AWS CodeCommit.

Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListPullRequests for usage and error information.

Returned Error Codes:

* ErrCodeInvalidPullRequestStatusException "InvalidPullRequestStatusException"
The pull request status is not valid. The only valid values are OPEN and
CLOSED.

* ErrCodeInvalidAuthorArnException "InvalidAuthorArnException"
The Amazon Resource Name (ARN) is not valid. Make sure that you have provided
the full ARN for the author of the pull request, and then try again.

* ErrCodeAuthorDoesNotExistException "AuthorDoesNotExistException"
The specified Amazon Resource Name (ARN) does not exist in the AWS account.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidMaxResultsException "InvalidMaxResultsException"
The specified number of maximum results is not valid.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests

func (*CodeCommit) ListPullRequestsPages

func (c *CodeCommit) ListPullRequestsPages(input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool) error

ListPullRequestsPages iterates over the pages of a ListPullRequests operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPullRequests method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPullRequests operation.
pageNum := 0
err := client.ListPullRequestsPages(params,
    func(page *codecommit.ListPullRequestsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListPullRequestsPagesWithContext

func (c *CodeCommit) ListPullRequestsPagesWithContext(ctx aws.Context, input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool, opts ...request.Option) error

ListPullRequestsPagesWithContext same as ListPullRequestsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListPullRequestsRequest

func (c *CodeCommit) ListPullRequestsRequest(input *ListPullRequestsInput) (req *request.Request, output *ListPullRequestsOutput)

ListPullRequestsRequest generates a "aws/request.Request" representing the client's request for the ListPullRequests operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPullRequests for more information on using the ListPullRequests API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPullRequestsRequest method.
req, resp := client.ListPullRequestsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests

func (*CodeCommit) ListPullRequestsWithContext

func (c *CodeCommit) ListPullRequestsWithContext(ctx aws.Context, input *ListPullRequestsInput, opts ...request.Option) (*ListPullRequestsOutput, error)

ListPullRequestsWithContext is the same as ListPullRequests with the addition of the ability to pass a context and additional request options.

See ListPullRequests for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositories

func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error)

ListRepositories API operation for AWS CodeCommit.

Gets information about one or more repositories.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListRepositories for usage and error information.

Returned Error Codes:

* ErrCodeInvalidSortByException "InvalidSortByException"
The specified sort by value is not valid.

* ErrCodeInvalidOrderException "InvalidOrderException"
The specified sort order is not valid.

* ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
The specified continuation token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) ListRepositoriesPages

func (c *CodeCommit) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error

ListRepositoriesPages iterates over the pages of a ListRepositories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRepositories method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRepositories operation.
pageNum := 0
err := client.ListRepositoriesPages(params,
    func(page *codecommit.ListRepositoriesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListRepositoriesPagesWithContext

func (c *CodeCommit) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error

ListRepositoriesPagesWithContext same as ListRepositoriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositoriesRequest

func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput)

ListRepositoriesRequest generates a "aws/request.Request" representing the client's request for the ListRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRepositories for more information on using the ListRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRepositoriesRequest method.
req, resp := client.ListRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) ListRepositoriesWithContext

func (c *CodeCommit) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error)

ListRepositoriesWithContext is the same as ListRepositories with the addition of the ability to pass a context and additional request options.

See ListRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListTagsForResource

func (c *CodeCommit) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS CodeCommit.

Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeResourceArnRequiredException "ResourceArnRequiredException"
A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required.
For a list of valid resources in AWS CodeCommit, see CodeCommit Resources
and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* ErrCodeInvalidResourceArnException "InvalidResourceArnException"
The value for the resource ARN is not valid. For more information about resources
in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListTagsForResource

func (*CodeCommit) ListTagsForResourceRequest

func (c *CodeCommit) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListTagsForResource

func (*CodeCommit) ListTagsForResourceWithContext

func (c *CodeCommit) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesByFastForward

func (c *CodeCommit) MergeBranchesByFastForward(input *MergeBranchesByFastForwardInput) (*MergeBranchesByFastForwardOutput, error)

MergeBranchesByFastForward API operation for AWS CodeCommit.

Merges two branches using the fast-forward merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesByFastForward for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidTargetBranchException "InvalidTargetBranchException"
The specified target branch is not valid.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeBranchNameIsTagNameException "BranchNameIsTagNameException"
The specified branch name is not valid because it is a tag name. Type the
name of a current branch in the repository. For a list of valid branch names,
use ListBranches.

* ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
The specified branch does not exist.

* ErrCodeManualMergeRequiredException "ManualMergeRequiredException"
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForward

func (*CodeCommit) MergeBranchesByFastForwardRequest

func (c *CodeCommit) MergeBranchesByFastForwardRequest(input *MergeBranchesByFastForwardInput) (req *request.Request, output *MergeBranchesByFastForwardOutput)

MergeBranchesByFastForwardRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesByFastForward operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesByFastForward for more information on using the MergeBranchesByFastForward API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesByFastForwardRequest method.
req, resp := client.MergeBranchesByFastForwardRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForward

func (*CodeCommit) MergeBranchesByFastForwardWithContext

func (c *CodeCommit) MergeBranchesByFastForwardWithContext(ctx aws.Context, input *MergeBranchesByFastForwardInput, opts ...request.Option) (*MergeBranchesByFastForwardOutput, error)

MergeBranchesByFastForwardWithContext is the same as MergeBranchesByFastForward with the addition of the ability to pass a context and additional request options.

See MergeBranchesByFastForward for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesBySquash

func (c *CodeCommit) MergeBranchesBySquash(input *MergeBranchesBySquashInput) (*MergeBranchesBySquashOutput, error)

MergeBranchesBySquash API operation for AWS CodeCommit.

Merges two branches using the squash merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesBySquash for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidTargetBranchException "InvalidTargetBranchException"
The specified target branch is not valid.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeBranchNameIsTagNameException "BranchNameIsTagNameException"
The specified branch name is not valid because it is a tag name. Type the
name of a current branch in the repository. For a list of valid branch names,
use ListBranches.

* ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
The specified branch does not exist.

* ErrCodeManualMergeRequiredException "ManualMergeRequiredException"
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeInvalidConflictResolutionException "InvalidConflictResolutionException"
The specified conflict resolution list is not valid.

* ErrCodeMaximumConflictResolutionEntriesExceededException "MaximumConflictResolutionEntriesExceededException"
The number of allowed conflict resolution entries was exceeded.

* ErrCodeMultipleConflictResolutionEntriesException "MultipleConflictResolutionEntriesException"
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ErrCodeReplacementTypeRequiredException "ReplacementTypeRequiredException"
A replacement type is required.

* ErrCodeInvalidReplacementTypeException "InvalidReplacementTypeException"
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* ErrCodeReplacementContentRequiredException "ReplacementContentRequiredException"
USE_NEW_CONTENT was specified but no replacement content has been provided.

* ErrCodeInvalidReplacementContentException "InvalidReplacementContentException"
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeFileContentSizeLimitExceededException "FileContentSizeLimitExceededException"
The file cannot be added because it is too large. The maximum file size that
can be added is 6 MB, and the combined file content change size is 7 MB.
Consider making these changes using a Git client.

* ErrCodeFolderContentSizeLimitExceededException "FolderContentSizeLimitExceededException"
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeFileModeRequiredException "FileModeRequiredException"
The commit cannot be created because a file mode is required to update mode
permissions for an existing file, but no file mode has been specified.

* ErrCodeInvalidFileModeException "InvalidFileModeException"
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* ErrCodeNameLengthExceededException "NameLengthExceededException"
The user name is not valid because it has exceeded the character limit for
file names. File names, including the path to the file, cannot exceed the
character limit.

* ErrCodeInvalidEmailException "InvalidEmailException"
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* ErrCodeCommitMessageLengthExceededException "CommitMessageLengthExceededException"
The commit message is too long. Provide a shorter string.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquash

func (*CodeCommit) MergeBranchesBySquashRequest

func (c *CodeCommit) MergeBranchesBySquashRequest(input *MergeBranchesBySquashInput) (req *request.Request, output *MergeBranchesBySquashOutput)

MergeBranchesBySquashRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesBySquash operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesBySquash for more information on using the MergeBranchesBySquash API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesBySquashRequest method.
req, resp := client.MergeBranchesBySquashRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquash

func (*CodeCommit) MergeBranchesBySquashWithContext

func (c *CodeCommit) MergeBranchesBySquashWithContext(ctx aws.Context, input *MergeBranchesBySquashInput, opts ...request.Option) (*MergeBranchesBySquashOutput, error)

MergeBranchesBySquashWithContext is the same as MergeBranchesBySquash with the addition of the ability to pass a context and additional request options.

See MergeBranchesBySquash for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesByThreeWay

func (c *CodeCommit) MergeBranchesByThreeWay(input *MergeBranchesByThreeWayInput) (*MergeBranchesByThreeWayOutput, error)

MergeBranchesByThreeWay API operation for AWS CodeCommit.

Merges two specified branches using the three-way merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesByThreeWay for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeCommitRequiredException "CommitRequiredException"
A commit was not specified.

* ErrCodeInvalidCommitException "InvalidCommitException"
The specified commit is not valid.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidTargetBranchException "InvalidTargetBranchException"
The specified target branch is not valid.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeBranchNameIsTagNameException "BranchNameIsTagNameException"
The specified branch name is not valid because it is a tag name. Type the
name of a current branch in the repository. For a list of valid branch names,
use ListBranches.

* ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
The specified branch does not exist.

* ErrCodeManualMergeRequiredException "ManualMergeRequiredException"
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeInvalidConflictResolutionException "InvalidConflictResolutionException"
The specified conflict resolution list is not valid.

* ErrCodeMaximumConflictResolutionEntriesExceededException "MaximumConflictResolutionEntriesExceededException"
The number of allowed conflict resolution entries was exceeded.

* ErrCodeMultipleConflictResolutionEntriesException "MultipleConflictResolutionEntriesException"
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ErrCodeReplacementTypeRequiredException "ReplacementTypeRequiredException"
A replacement type is required.

* ErrCodeInvalidReplacementTypeException "InvalidReplacementTypeException"
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* ErrCodeReplacementContentRequiredException "ReplacementContentRequiredException"
USE_NEW_CONTENT was specified but no replacement content has been provided.

* ErrCodeInvalidReplacementContentException "InvalidReplacementContentException"
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeFileContentSizeLimitExceededException "FileContentSizeLimitExceededException"
The file cannot be added because it is too large. The maximum file size that
can be added is 6 MB, and the combined file content change size is 7 MB.
Consider making these changes using a Git client.

* ErrCodeFolderContentSizeLimitExceededException "FolderContentSizeLimitExceededException"
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeFileModeRequiredException "FileModeRequiredException"
The commit cannot be created because a file mode is required to update mode
permissions for an existing file, but no file mode has been specified.

* ErrCodeInvalidFileModeException "InvalidFileModeException"
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* ErrCodeNameLengthExceededException "NameLengthExceededException"
The user name is not valid because it has exceeded the character limit for
file names. File names, including the path to the file, cannot exceed the
character limit.

* ErrCodeInvalidEmailException "InvalidEmailException"
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* ErrCodeCommitMessageLengthExceededException "CommitMessageLengthExceededException"
The commit message is too long. Provide a shorter string.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWay

func (*CodeCommit) MergeBranchesByThreeWayRequest

func (c *CodeCommit) MergeBranchesByThreeWayRequest(input *MergeBranchesByThreeWayInput) (req *request.Request, output *MergeBranchesByThreeWayOutput)

MergeBranchesByThreeWayRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesByThreeWay operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesByThreeWay for more information on using the MergeBranchesByThreeWay API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesByThreeWayRequest method.
req, resp := client.MergeBranchesByThreeWayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWay

func (*CodeCommit) MergeBranchesByThreeWayWithContext

func (c *CodeCommit) MergeBranchesByThreeWayWithContext(ctx aws.Context, input *MergeBranchesByThreeWayInput, opts ...request.Option) (*MergeBranchesByThreeWayOutput, error)

MergeBranchesByThreeWayWithContext is the same as MergeBranchesByThreeWay with the addition of the ability to pass a context and additional request options.

See MergeBranchesByThreeWay for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestByFastForward

func (c *CodeCommit) MergePullRequestByFastForward(input *MergePullRequestByFastForwardInput) (*MergePullRequestByFastForwardOutput, error)

MergePullRequestByFastForward API operation for AWS CodeCommit.

Closes a pull request and attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestByFastForward for usage and error information.

Returned Error Codes:

* ErrCodeManualMergeRequiredException "ManualMergeRequiredException"
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ErrCodePullRequestAlreadyClosedException "PullRequestAlreadyClosedException"
The pull request status cannot be updated because it is already closed.

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeTipOfSourceReferenceIsDifferentException "TipOfSourceReferenceIsDifferentException"
The tip of the source branch in the destination repository does not match
the tip of the source branch specified in your request. The pull request
might have been updated. Make sure that you have the latest changes.

* ErrCodeReferenceDoesNotExistException "ReferenceDoesNotExistException"
The specified reference does not exist. You must provide a full commit ID.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeRepositoryNotAssociatedWithPullRequestException "RepositoryNotAssociatedWithPullRequestException"
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward

func (*CodeCommit) MergePullRequestByFastForwardRequest

func (c *CodeCommit) MergePullRequestByFastForwardRequest(input *MergePullRequestByFastForwardInput) (req *request.Request, output *MergePullRequestByFastForwardOutput)

MergePullRequestByFastForwardRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestByFastForward operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestByFastForward for more information on using the MergePullRequestByFastForward API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestByFastForwardRequest method.
req, resp := client.MergePullRequestByFastForwardRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward

func (*CodeCommit) MergePullRequestByFastForwardWithContext

func (c *CodeCommit) MergePullRequestByFastForwardWithContext(ctx aws.Context, input *MergePullRequestByFastForwardInput, opts ...request.Option) (*MergePullRequestByFastForwardOutput, error)

MergePullRequestByFastForwardWithContext is the same as MergePullRequestByFastForward with the addition of the ability to pass a context and additional request options.

See MergePullRequestByFastForward for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestBySquash

func (c *CodeCommit) MergePullRequestBySquash(input *MergePullRequestBySquashInput) (*MergePullRequestBySquashOutput, error)

MergePullRequestBySquash API operation for AWS CodeCommit.

Closes a pull request and attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestBySquash for usage and error information.

Returned Error Codes:

* ErrCodePullRequestAlreadyClosedException "PullRequestAlreadyClosedException"
The pull request status cannot be updated because it is already closed.

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeManualMergeRequiredException "ManualMergeRequiredException"
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ErrCodeTipOfSourceReferenceIsDifferentException "TipOfSourceReferenceIsDifferentException"
The tip of the source branch in the destination repository does not match
the tip of the source branch specified in your request. The pull request
might have been updated. Make sure that you have the latest changes.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeNameLengthExceededException "NameLengthExceededException"
The user name is not valid because it has exceeded the character limit for
file names. File names, including the path to the file, cannot exceed the
character limit.

* ErrCodeInvalidEmailException "InvalidEmailException"
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* ErrCodeCommitMessageLengthExceededException "CommitMessageLengthExceededException"
The commit message is too long. Provide a shorter string.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeInvalidConflictResolutionException "InvalidConflictResolutionException"
The specified conflict resolution list is not valid.

* ErrCodeReplacementTypeRequiredException "ReplacementTypeRequiredException"
A replacement type is required.

* ErrCodeInvalidReplacementTypeException "InvalidReplacementTypeException"
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* ErrCodeMultipleConflictResolutionEntriesException "MultipleConflictResolutionEntriesException"
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ErrCodeReplacementContentRequiredException "ReplacementContentRequiredException"
USE_NEW_CONTENT was specified but no replacement content has been provided.

* ErrCodeMaximumConflictResolutionEntriesExceededException "MaximumConflictResolutionEntriesExceededException"
The number of allowed conflict resolution entries was exceeded.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeInvalidFileModeException "InvalidFileModeException"
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* ErrCodeInvalidReplacementContentException "InvalidReplacementContentException"
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* ErrCodeFileContentSizeLimitExceededException "FileContentSizeLimitExceededException"
The file cannot be added because it is too large. The maximum file size that
can be added is 6 MB, and the combined file content change size is 7 MB.
Consider making these changes using a Git client.

* ErrCodeFolderContentSizeLimitExceededException "FolderContentSizeLimitExceededException"
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeRepositoryNotAssociatedWithPullRequestException "RepositoryNotAssociatedWithPullRequestException"
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquash

func (*CodeCommit) MergePullRequestBySquashRequest

func (c *CodeCommit) MergePullRequestBySquashRequest(input *MergePullRequestBySquashInput) (req *request.Request, output *MergePullRequestBySquashOutput)

MergePullRequestBySquashRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestBySquash operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestBySquash for more information on using the MergePullRequestBySquash API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestBySquashRequest method.
req, resp := client.MergePullRequestBySquashRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquash

func (*CodeCommit) MergePullRequestBySquashWithContext

func (c *CodeCommit) MergePullRequestBySquashWithContext(ctx aws.Context, input *MergePullRequestBySquashInput, opts ...request.Option) (*MergePullRequestBySquashOutput, error)

MergePullRequestBySquashWithContext is the same as MergePullRequestBySquash with the addition of the ability to pass a context and additional request options.

See MergePullRequestBySquash for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestByThreeWay

func (c *CodeCommit) MergePullRequestByThreeWay(input *MergePullRequestByThreeWayInput) (*MergePullRequestByThreeWayOutput, error)

MergePullRequestByThreeWay API operation for AWS CodeCommit.

Closes a pull request and attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestByThreeWay for usage and error information.

Returned Error Codes:

* ErrCodePullRequestAlreadyClosedException "PullRequestAlreadyClosedException"
The pull request status cannot be updated because it is already closed.

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeManualMergeRequiredException "ManualMergeRequiredException"
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ErrCodeTipOfSourceReferenceIsDifferentException "TipOfSourceReferenceIsDifferentException"
The tip of the source branch in the destination repository does not match
the tip of the source branch specified in your request. The pull request
might have been updated. Make sure that you have the latest changes.

* ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException"
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* ErrCodeNameLengthExceededException "NameLengthExceededException"
The user name is not valid because it has exceeded the character limit for
file names. File names, including the path to the file, cannot exceed the
character limit.

* ErrCodeInvalidEmailException "InvalidEmailException"
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* ErrCodeCommitMessageLengthExceededException "CommitMessageLengthExceededException"
The commit message is too long. Provide a shorter string.

* ErrCodeInvalidConflictDetailLevelException "InvalidConflictDetailLevelException"
The specified conflict detail level is not valid.

* ErrCodeInvalidConflictResolutionStrategyException "InvalidConflictResolutionStrategyException"
The specified conflict resolution strategy is not valid.

* ErrCodeInvalidConflictResolutionException "InvalidConflictResolutionException"
The specified conflict resolution list is not valid.

* ErrCodeReplacementTypeRequiredException "ReplacementTypeRequiredException"
A replacement type is required.

* ErrCodeInvalidReplacementTypeException "InvalidReplacementTypeException"
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* ErrCodeMultipleConflictResolutionEntriesException "MultipleConflictResolutionEntriesException"
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ErrCodeReplacementContentRequiredException "ReplacementContentRequiredException"
USE_NEW_CONTENT was specified but no replacement content has been provided.

* ErrCodeMaximumConflictResolutionEntriesExceededException "MaximumConflictResolutionEntriesExceededException"
The number of allowed conflict resolution entries was exceeded.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeInvalidFileModeException "InvalidFileModeException"
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* ErrCodeInvalidReplacementContentException "InvalidReplacementContentException"
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* ErrCodeFileContentSizeLimitExceededException "FileContentSizeLimitExceededException"
The file cannot be added because it is too large. The maximum file size that
can be added is 6 MB, and the combined file content change size is 7 MB.
Consider making these changes using a Git client.

* ErrCodeFolderContentSizeLimitExceededException "FolderContentSizeLimitExceededException"
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* ErrCodeMaximumFileContentToLoadExceededException "MaximumFileContentToLoadExceededException"
The number of files to load exceeds the allowed limit.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeRepositoryNotAssociatedWithPullRequestException "RepositoryNotAssociatedWithPullRequestException"
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWay

func (*CodeCommit) MergePullRequestByThreeWayRequest

func (c *CodeCommit) MergePullRequestByThreeWayRequest(input *MergePullRequestByThreeWayInput) (req *request.Request, output *MergePullRequestByThreeWayOutput)

MergePullRequestByThreeWayRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestByThreeWay operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestByThreeWay for more information on using the MergePullRequestByThreeWay API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestByThreeWayRequest method.
req, resp := client.MergePullRequestByThreeWayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWay

func (*CodeCommit) MergePullRequestByThreeWayWithContext

func (c *CodeCommit) MergePullRequestByThreeWayWithContext(ctx aws.Context, input *MergePullRequestByThreeWayInput, opts ...request.Option) (*MergePullRequestByThreeWayOutput, error)

MergePullRequestByThreeWayWithContext is the same as MergePullRequestByThreeWay with the addition of the ability to pass a context and additional request options.

See MergePullRequestByThreeWay for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentForComparedCommit

func (c *CodeCommit) PostCommentForComparedCommit(input *PostCommentForComparedCommitInput) (*PostCommentForComparedCommitOutput, error)

PostCommentForComparedCommit API operation for AWS CodeCommit.

Posts a comment on the comparison between two commits.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentForComparedCommit for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeClientRequestTokenRequiredException "ClientRequestTokenRequiredException"
A client request token is required. A client request token is an unique,
client-generated idempotency token that when provided in a request, ensures
the request cannot be repeated with a changed parameter. If a request is
received with the same parameters and a token is included, the request will
return information about the initial request that used that token.

* ErrCodeInvalidClientRequestTokenException "InvalidClientRequestTokenException"
The client request token is not valid.

* ErrCodeIdempotencyParameterMismatchException "IdempotencyParameterMismatchException"
The client request token is not valid. Either the token is not in a valid
format, or the token has been used in a previous request and cannot be re-used.

* ErrCodeCommentContentRequiredException "CommentContentRequiredException"
The comment is empty. You must provide some content for a comment. The content
cannot be null.

* ErrCodeCommentContentSizeLimitExceededException "CommentContentSizeLimitExceededException"
The comment is too large. Comments are limited to 1,000 characters.

* ErrCodeInvalidFileLocationException "InvalidFileLocationException"
The location of the file is not valid. Make sure that you include the extension
of the file as well as the file name.

* ErrCodeInvalidRelativeFileVersionEnumException "InvalidRelativeFileVersionEnumException"
Either the enum is not in a valid format, or the specified file version enum
is not valid in respect to the current file version.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidFilePositionException "InvalidFilePositionException"
The position is not valid. Make sure that the line number exists in the version
of the file you want to comment on.

* ErrCodeCommitIdRequiredException "CommitIdRequiredException"
A commit ID was not specified.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException "BeforeCommitIdAndAfterCommitIdAreSameException"
The before commit ID and the after commit ID are the same, which is not valid.
The before commit ID and the after commit ID must be different commit IDs.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodePathDoesNotExistException "PathDoesNotExistException"
The specified path does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit

func (*CodeCommit) PostCommentForComparedCommitRequest

func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForComparedCommitInput) (req *request.Request, output *PostCommentForComparedCommitOutput)

PostCommentForComparedCommitRequest generates a "aws/request.Request" representing the client's request for the PostCommentForComparedCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentForComparedCommit for more information on using the PostCommentForComparedCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentForComparedCommitRequest method.
req, resp := client.PostCommentForComparedCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit

func (*CodeCommit) PostCommentForComparedCommitWithContext

func (c *CodeCommit) PostCommentForComparedCommitWithContext(ctx aws.Context, input *PostCommentForComparedCommitInput, opts ...request.Option) (*PostCommentForComparedCommitOutput, error)

PostCommentForComparedCommitWithContext is the same as PostCommentForComparedCommit with the addition of the ability to pass a context and additional request options.

See PostCommentForComparedCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentForPullRequest

func (c *CodeCommit) PostCommentForPullRequest(input *PostCommentForPullRequestInput) (*PostCommentForPullRequestOutput, error)

PostCommentForPullRequest API operation for AWS CodeCommit.

Posts a comment on a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentForPullRequest for usage and error information.

Returned Error Codes:

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeRepositoryNotAssociatedWithPullRequestException "RepositoryNotAssociatedWithPullRequestException"
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeClientRequestTokenRequiredException "ClientRequestTokenRequiredException"
A client request token is required. A client request token is an unique,
client-generated idempotency token that when provided in a request, ensures
the request cannot be repeated with a changed parameter. If a request is
received with the same parameters and a token is included, the request will
return information about the initial request that used that token.

* ErrCodeInvalidClientRequestTokenException "InvalidClientRequestTokenException"
The client request token is not valid.

* ErrCodeIdempotencyParameterMismatchException "IdempotencyParameterMismatchException"
The client request token is not valid. Either the token is not in a valid
format, or the token has been used in a previous request and cannot be re-used.

* ErrCodeCommentContentRequiredException "CommentContentRequiredException"
The comment is empty. You must provide some content for a comment. The content
cannot be null.

* ErrCodeCommentContentSizeLimitExceededException "CommentContentSizeLimitExceededException"
The comment is too large. Comments are limited to 1,000 characters.

* ErrCodeInvalidFileLocationException "InvalidFileLocationException"
The location of the file is not valid. Make sure that you include the extension
of the file as well as the file name.

* ErrCodeInvalidRelativeFileVersionEnumException "InvalidRelativeFileVersionEnumException"
Either the enum is not in a valid format, or the specified file version enum
is not valid in respect to the current file version.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidFilePositionException "InvalidFilePositionException"
The position is not valid. Make sure that the line number exists in the version
of the file you want to comment on.

* ErrCodeCommitIdRequiredException "CommitIdRequiredException"
A commit ID was not specified.

* ErrCodeInvalidCommitIdException "InvalidCommitIdException"
The specified commit ID is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodePathDoesNotExistException "PathDoesNotExistException"
The specified path does not exist.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException "BeforeCommitIdAndAfterCommitIdAreSameException"
The before commit ID and the after commit ID are the same, which is not valid.
The before commit ID and the after commit ID must be different commit IDs.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest

func (*CodeCommit) PostCommentForPullRequestRequest

func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullRequestInput) (req *request.Request, output *PostCommentForPullRequestOutput)

PostCommentForPullRequestRequest generates a "aws/request.Request" representing the client's request for the PostCommentForPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentForPullRequest for more information on using the PostCommentForPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentForPullRequestRequest method.
req, resp := client.PostCommentForPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest

func (*CodeCommit) PostCommentForPullRequestWithContext

func (c *CodeCommit) PostCommentForPullRequestWithContext(ctx aws.Context, input *PostCommentForPullRequestInput, opts ...request.Option) (*PostCommentForPullRequestOutput, error)

PostCommentForPullRequestWithContext is the same as PostCommentForPullRequest with the addition of the ability to pass a context and additional request options.

See PostCommentForPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentReply

func (c *CodeCommit) PostCommentReply(input *PostCommentReplyInput) (*PostCommentReplyOutput, error)

PostCommentReply API operation for AWS CodeCommit.

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentReply for usage and error information.

Returned Error Codes:

* ErrCodeClientRequestTokenRequiredException "ClientRequestTokenRequiredException"
A client request token is required. A client request token is an unique,
client-generated idempotency token that when provided in a request, ensures
the request cannot be repeated with a changed parameter. If a request is
received with the same parameters and a token is included, the request will
return information about the initial request that used that token.

* ErrCodeInvalidClientRequestTokenException "InvalidClientRequestTokenException"
The client request token is not valid.

* ErrCodeIdempotencyParameterMismatchException "IdempotencyParameterMismatchException"
The client request token is not valid. Either the token is not in a valid
format, or the token has been used in a previous request and cannot be re-used.

* ErrCodeCommentContentRequiredException "CommentContentRequiredException"
The comment is empty. You must provide some content for a comment. The content
cannot be null.

* ErrCodeCommentContentSizeLimitExceededException "CommentContentSizeLimitExceededException"
The comment is too large. Comments are limited to 1,000 characters.

* ErrCodeCommentDoesNotExistException "CommentDoesNotExistException"
No comment exists with the provided ID. Verify that you have provided the
correct ID, and then try again.

* ErrCodeCommentIdRequiredException "CommentIdRequiredException"
The comment ID is missing or null. A comment ID is required.

* ErrCodeInvalidCommentIdException "InvalidCommentIdException"
The comment ID is not in a valid format. Make sure that you have provided
the full comment ID.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply

func (*CodeCommit) PostCommentReplyRequest

func (c *CodeCommit) PostCommentReplyRequest(input *PostCommentReplyInput) (req *request.Request, output *PostCommentReplyOutput)

PostCommentReplyRequest generates a "aws/request.Request" representing the client's request for the PostCommentReply operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentReply for more information on using the PostCommentReply API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentReplyRequest method.
req, resp := client.PostCommentReplyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply

func (*CodeCommit) PostCommentReplyWithContext

func (c *CodeCommit) PostCommentReplyWithContext(ctx aws.Context, input *PostCommentReplyInput, opts ...request.Option) (*PostCommentReplyOutput, error)

PostCommentReplyWithContext is the same as PostCommentReply with the addition of the ability to pass a context and additional request options.

See PostCommentReply for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PutFile

func (c *CodeCommit) PutFile(input *PutFileInput) (*PutFileOutput, error)

PutFile API operation for AWS CodeCommit.

Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PutFile for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeParentCommitIdRequiredException "ParentCommitIdRequiredException"
A parent commit ID is required. To view the full commit ID of a branch in
a repository, use GetBranch or a Git command (for example, git pull or git
log).

* ErrCodeInvalidParentCommitIdException "InvalidParentCommitIdException"
The parent commit ID is not valid. The commit ID cannot be empty, and must
match the head commit ID for the branch of the repository where you want
to add or update a file.

* ErrCodeParentCommitDoesNotExistException "ParentCommitDoesNotExistException"
The parent commit ID is not valid because it does not exist. The specified
parent commit ID does not exist in the specified branch of the repository.

* ErrCodeParentCommitIdOutdatedException "ParentCommitIdOutdatedException"
The file could not be added because the provided parent commit ID is not
the current tip of the specified branch. To view the full commit ID of the
current head of the branch, use GetBranch.

* ErrCodeFileContentRequiredException "FileContentRequiredException"
The file cannot be added because it is empty. Empty files cannot be added
to the repository with this API.

* ErrCodeFileContentSizeLimitExceededException "FileContentSizeLimitExceededException"
The file cannot be added because it is too large. The maximum file size that
can be added is 6 MB, and the combined file content change size is 7 MB.
Consider making these changes using a Git client.

* ErrCodeFolderContentSizeLimitExceededException "FolderContentSizeLimitExceededException"
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* ErrCodePathRequiredException "PathRequiredException"
The folderPath for a location cannot be null.

* ErrCodeInvalidPathException "InvalidPathException"
The specified path is not valid.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
The specified branch does not exist.

* ErrCodeBranchNameIsTagNameException "BranchNameIsTagNameException"
The specified branch name is not valid because it is a tag name. Type the
name of a current branch in the repository. For a list of valid branch names,
use ListBranches.

* ErrCodeInvalidFileModeException "InvalidFileModeException"
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* ErrCodeNameLengthExceededException "NameLengthExceededException"
The user name is not valid because it has exceeded the character limit for
file names. File names, including the path to the file, cannot exceed the
character limit.

* ErrCodeInvalidEmailException "InvalidEmailException"
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* ErrCodeCommitMessageLengthExceededException "CommitMessageLengthExceededException"
The commit message is too long. Provide a shorter string.

* ErrCodeInvalidDeletionParameterException "InvalidDeletionParameterException"
The specified deletion parameter is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

* ErrCodeSameFileContentException "SameFileContentException"
The file was not added or updated because the content of the file is exactly
the same as the content of that file in the repository and branch that you
specified.

* ErrCodeFileNameConflictsWithDirectoryNameException "FileNameConflictsWithDirectoryNameException"
A file cannot be added to the repository because the specified file name
has the same name as a directory in this repository. Either provide another
name for the file, or add the file in a directory that does not match the
file name.

* ErrCodeDirectoryNameConflictsWithFileNameException "DirectoryNameConflictsWithFileNameException"
A file cannot be added to the repository because the specified path name
has the same name as a file that already exists in this repository. Either
provide a different name for the file, or specify a different path for the
file.

* ErrCodeFilePathConflictsWithSubmodulePathException "FilePathConflictsWithSubmodulePathException"
The commit cannot be created because a specified file path points to a submodule.
Verify that the destination files have valid file paths that do not point
to a submodule.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFile

func (*CodeCommit) PutFileRequest

func (c *CodeCommit) PutFileRequest(input *PutFileInput) (req *request.Request, output *PutFileOutput)

PutFileRequest generates a "aws/request.Request" representing the client's request for the PutFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutFile for more information on using the PutFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutFileRequest method.
req, resp := client.PutFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFile

func (*CodeCommit) PutFileWithContext

func (c *CodeCommit) PutFileWithContext(ctx aws.Context, input *PutFileInput, opts ...request.Option) (*PutFileOutput, error)

PutFileWithContext is the same as PutFile with the addition of the ability to pass a context and additional request options.

See PutFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PutRepositoryTriggers

func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error)

PutRepositoryTriggers API operation for AWS CodeCommit.

Replaces all triggers for a repository. This can be used to create or delete triggers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PutRepositoryTriggers for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException"
The list of triggers for the repository is required but was not specified.

* ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException"
The number of triggers allowed for the repository was exceeded.

* ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException"
The name of the trigger is not valid.

* ErrCodeInvalidRepositoryTriggerDestinationArnException "InvalidRepositoryTriggerDestinationArnException"
The Amazon Resource Name (ARN) for the trigger is not valid for the specified
destination. The most common reason for this error is that the ARN does not
meet the requirements for the service type.

* ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException"
The region for the trigger target does not match the region for the repository.
Triggers must be created in the same region as the target for the trigger.

* ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException"
The custom data provided for the trigger is not valid.

* ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException"
The number of branches for the trigger was exceeded.

* ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException"
One or more branch names specified for the trigger is not valid.

* ErrCodeInvalidRepositoryTriggerEventsException "InvalidRepositoryTriggerEventsException"
One or more events specified for the trigger is not valid. Check to make
sure that all events specified match the requirements for allowed events.

* ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException"
A name for the trigger is required but was not specified.

* ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException"
A destination ARN for the target service for the trigger is required but
was not specified.

* ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException"
At least one branch name is required but was not specified in the trigger
configuration.

* ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException"
At least one event for the trigger is required but was not specified.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) PutRepositoryTriggersRequest

func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput)

PutRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the PutRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRepositoryTriggers for more information on using the PutRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRepositoryTriggersRequest method.
req, resp := client.PutRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) PutRepositoryTriggersWithContext

func (c *CodeCommit) PutRepositoryTriggersWithContext(ctx aws.Context, input *PutRepositoryTriggersInput, opts ...request.Option) (*PutRepositoryTriggersOutput, error)

PutRepositoryTriggersWithContext is the same as PutRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See PutRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) TagResource

func (c *CodeCommit) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS CodeCommit.

Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation TagResource for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeResourceArnRequiredException "ResourceArnRequiredException"
A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required.
For a list of valid resources in AWS CodeCommit, see CodeCommit Resources
and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* ErrCodeInvalidResourceArnException "InvalidResourceArnException"
The value for the resource ARN is not valid. For more information about resources
in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* ErrCodeTagsMapRequiredException "TagsMapRequiredException"
A map of tags is required.

* ErrCodeInvalidTagsMapException "InvalidTagsMapException"
The map of tags is not valid.

* ErrCodeTooManyTagsException "TooManyTagsException"
The maximum number of tags for an AWS CodeCommit resource has been exceeded.

* ErrCodeInvalidSystemTagUsageException "InvalidSystemTagUsageException"
The specified tag is not valid. Key names cannot be prefixed with aws:.

* ErrCodeTagPolicyException "TagPolicyException"
The tag policy is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagResource

func (*CodeCommit) TagResourceRequest

func (c *CodeCommit) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagResource

func (*CodeCommit) TagResourceWithContext

func (c *CodeCommit) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) TestRepositoryTriggers

func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error)

TestRepositoryTriggers API operation for AWS CodeCommit.

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation TestRepositoryTriggers for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException"
The list of triggers for the repository is required but was not specified.

* ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException"
The number of triggers allowed for the repository was exceeded.

* ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException"
The name of the trigger is not valid.

* ErrCodeInvalidRepositoryTriggerDestinationArnException "InvalidRepositoryTriggerDestinationArnException"
The Amazon Resource Name (ARN) for the trigger is not valid for the specified
destination. The most common reason for this error is that the ARN does not
meet the requirements for the service type.

* ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException"
The region for the trigger target does not match the region for the repository.
Triggers must be created in the same region as the target for the trigger.

* ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException"
The custom data provided for the trigger is not valid.

* ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException"
The number of branches for the trigger was exceeded.

* ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException"
One or more branch names specified for the trigger is not valid.

* ErrCodeInvalidRepositoryTriggerEventsException "InvalidRepositoryTriggerEventsException"
One or more events specified for the trigger is not valid. Check to make
sure that all events specified match the requirements for allowed events.

* ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException"
A name for the trigger is required but was not specified.

* ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException"
A destination ARN for the target service for the trigger is required but
was not specified.

* ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException"
At least one branch name is required but was not specified in the trigger
configuration.

* ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException"
At least one event for the trigger is required but was not specified.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersRequest

func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput)

TestRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the TestRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TestRepositoryTriggers for more information on using the TestRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TestRepositoryTriggersRequest method.
req, resp := client.TestRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersWithContext

func (c *CodeCommit) TestRepositoryTriggersWithContext(ctx aws.Context, input *TestRepositoryTriggersInput, opts ...request.Option) (*TestRepositoryTriggersOutput, error)

TestRepositoryTriggersWithContext is the same as TestRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See TestRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UntagResource

func (c *CodeCommit) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS CodeCommit.

Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UntagResource for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeResourceArnRequiredException "ResourceArnRequiredException"
A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required.
For a list of valid resources in AWS CodeCommit, see CodeCommit Resources
and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* ErrCodeInvalidResourceArnException "InvalidResourceArnException"
The value for the resource ARN is not valid. For more information about resources
in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* ErrCodeTagKeysListRequiredException "TagKeysListRequiredException"
A list of tag keys is required. The list cannot be empty or null.

* ErrCodeInvalidTagKeysListException "InvalidTagKeysListException"
The list of tags is not valid.

* ErrCodeTooManyTagsException "TooManyTagsException"
The maximum number of tags for an AWS CodeCommit resource has been exceeded.

* ErrCodeInvalidSystemTagUsageException "InvalidSystemTagUsageException"
The specified tag is not valid. Key names cannot be prefixed with aws:.

* ErrCodeTagPolicyException "TagPolicyException"
The tag policy is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UntagResource

func (*CodeCommit) UntagResourceRequest

func (c *CodeCommit) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UntagResource

func (*CodeCommit) UntagResourceWithContext

func (c *CodeCommit) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateComment

func (c *CodeCommit) UpdateComment(input *UpdateCommentInput) (*UpdateCommentOutput, error)

UpdateComment API operation for AWS CodeCommit.

Replaces the contents of a comment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateComment for usage and error information.

Returned Error Codes:

* ErrCodeCommentContentRequiredException "CommentContentRequiredException"
The comment is empty. You must provide some content for a comment. The content
cannot be null.

* ErrCodeCommentContentSizeLimitExceededException "CommentContentSizeLimitExceededException"
The comment is too large. Comments are limited to 1,000 characters.

* ErrCodeCommentDoesNotExistException "CommentDoesNotExistException"
No comment exists with the provided ID. Verify that you have provided the
correct ID, and then try again.

* ErrCodeCommentIdRequiredException "CommentIdRequiredException"
The comment ID is missing or null. A comment ID is required.

* ErrCodeInvalidCommentIdException "InvalidCommentIdException"
The comment ID is not in a valid format. Make sure that you have provided
the full comment ID.

* ErrCodeCommentNotCreatedByCallerException "CommentNotCreatedByCallerException"
You cannot modify or delete this comment. Only comment authors can modify
or delete their comments.

* ErrCodeCommentDeletedException "CommentDeletedException"
This comment has already been deleted. You cannot edit or delete a deleted
comment.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment

func (*CodeCommit) UpdateCommentRequest

func (c *CodeCommit) UpdateCommentRequest(input *UpdateCommentInput) (req *request.Request, output *UpdateCommentOutput)

UpdateCommentRequest generates a "aws/request.Request" representing the client's request for the UpdateComment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateComment for more information on using the UpdateComment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateCommentRequest method.
req, resp := client.UpdateCommentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment

func (*CodeCommit) UpdateCommentWithContext

func (c *CodeCommit) UpdateCommentWithContext(ctx aws.Context, input *UpdateCommentInput, opts ...request.Option) (*UpdateCommentOutput, error)

UpdateCommentWithContext is the same as UpdateComment with the addition of the ability to pass a context and additional request options.

See UpdateComment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateDefaultBranch

func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error)

UpdateDefaultBranch API operation for AWS CodeCommit.

Sets or changes the default branch name for the specified repository.

If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateDefaultBranch for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeBranchNameRequiredException "BranchNameRequiredException"
A branch name is required but was not specified.

* ErrCodeInvalidBranchNameException "InvalidBranchNameException"
The specified reference name is not valid.

* ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
The specified branch does not exist.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdateDefaultBranchRequest

func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput)

UpdateDefaultBranchRequest generates a "aws/request.Request" representing the client's request for the UpdateDefaultBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDefaultBranch for more information on using the UpdateDefaultBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDefaultBranchRequest method.
req, resp := client.UpdateDefaultBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdateDefaultBranchWithContext

func (c *CodeCommit) UpdateDefaultBranchWithContext(ctx aws.Context, input *UpdateDefaultBranchInput, opts ...request.Option) (*UpdateDefaultBranchOutput, error)

UpdateDefaultBranchWithContext is the same as UpdateDefaultBranch with the addition of the ability to pass a context and additional request options.

See UpdateDefaultBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestDescription

func (c *CodeCommit) UpdatePullRequestDescription(input *UpdatePullRequestDescriptionInput) (*UpdatePullRequestDescriptionOutput, error)

UpdatePullRequestDescription API operation for AWS CodeCommit.

Replaces the contents of the description of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestDescription for usage and error information.

Returned Error Codes:

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeInvalidDescriptionException "InvalidDescriptionException"
The pull request description is not valid. Descriptions are limited to 1,000
characters in length.

* ErrCodePullRequestAlreadyClosedException "PullRequestAlreadyClosedException"
The pull request status cannot be updated because it is already closed.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription

func (*CodeCommit) UpdatePullRequestDescriptionRequest

func (c *CodeCommit) UpdatePullRequestDescriptionRequest(input *UpdatePullRequestDescriptionInput) (req *request.Request, output *UpdatePullRequestDescriptionOutput)

UpdatePullRequestDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestDescription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestDescription for more information on using the UpdatePullRequestDescription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestDescriptionRequest method.
req, resp := client.UpdatePullRequestDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription

func (*CodeCommit) UpdatePullRequestDescriptionWithContext

func (c *CodeCommit) UpdatePullRequestDescriptionWithContext(ctx aws.Context, input *UpdatePullRequestDescriptionInput, opts ...request.Option) (*UpdatePullRequestDescriptionOutput, error)

UpdatePullRequestDescriptionWithContext is the same as UpdatePullRequestDescription with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestStatus

func (c *CodeCommit) UpdatePullRequestStatus(input *UpdatePullRequestStatusInput) (*UpdatePullRequestStatusOutput, error)

UpdatePullRequestStatus API operation for AWS CodeCommit.

Updates the status of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestStatus for usage and error information.

Returned Error Codes:

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeInvalidPullRequestStatusUpdateException "InvalidPullRequestStatusUpdateException"
The pull request status update is not valid. The only valid update is from
OPEN to CLOSED.

* ErrCodeInvalidPullRequestStatusException "InvalidPullRequestStatusException"
The pull request status is not valid. The only valid values are OPEN and
CLOSED.

* ErrCodePullRequestStatusRequiredException "PullRequestStatusRequiredException"
A pull request status is required, but none was provided.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus

func (*CodeCommit) UpdatePullRequestStatusRequest

func (c *CodeCommit) UpdatePullRequestStatusRequest(input *UpdatePullRequestStatusInput) (req *request.Request, output *UpdatePullRequestStatusOutput)

UpdatePullRequestStatusRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestStatus for more information on using the UpdatePullRequestStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestStatusRequest method.
req, resp := client.UpdatePullRequestStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus

func (*CodeCommit) UpdatePullRequestStatusWithContext

func (c *CodeCommit) UpdatePullRequestStatusWithContext(ctx aws.Context, input *UpdatePullRequestStatusInput, opts ...request.Option) (*UpdatePullRequestStatusOutput, error)

UpdatePullRequestStatusWithContext is the same as UpdatePullRequestStatus with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestTitle

func (c *CodeCommit) UpdatePullRequestTitle(input *UpdatePullRequestTitleInput) (*UpdatePullRequestTitleOutput, error)

UpdatePullRequestTitle API operation for AWS CodeCommit.

Replaces the title of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestTitle for usage and error information.

Returned Error Codes:

* ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException"
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException"
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException"
A pull request ID is required, but none was provided.

* ErrCodeTitleRequiredException "TitleRequiredException"
A pull request title is required. It cannot be empty or null.

* ErrCodeInvalidTitleException "InvalidTitleException"
The title of the pull request is not valid. Pull request titles cannot exceed
100 characters in length.

* ErrCodePullRequestAlreadyClosedException "PullRequestAlreadyClosedException"
The pull request status cannot be updated because it is already closed.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle

func (*CodeCommit) UpdatePullRequestTitleRequest

func (c *CodeCommit) UpdatePullRequestTitleRequest(input *UpdatePullRequestTitleInput) (req *request.Request, output *UpdatePullRequestTitleOutput)

UpdatePullRequestTitleRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestTitle operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestTitle for more information on using the UpdatePullRequestTitle API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestTitleRequest method.
req, resp := client.UpdatePullRequestTitleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle

func (*CodeCommit) UpdatePullRequestTitleWithContext

func (c *CodeCommit) UpdatePullRequestTitleWithContext(ctx aws.Context, input *UpdatePullRequestTitleInput, opts ...request.Option) (*UpdatePullRequestTitleOutput, error)

UpdatePullRequestTitleWithContext is the same as UpdatePullRequestTitle with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestTitle for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateRepositoryDescription

func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error)

UpdateRepositoryDescription API operation for AWS CodeCommit.

Sets or changes the comment or description for a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateRepositoryDescription for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ErrCodeInvalidRepositoryDescriptionException "InvalidRepositoryDescriptionException"
The specified repository description is not valid.

* ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
An encryption integrity check failed.

* ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
An encryption key could not be accessed.

* ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
The encryption key is disabled.

* ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
No encryption key was found.

* ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryDescriptionRequest

func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput)

UpdateRepositoryDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdateRepositoryDescription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRepositoryDescription for more information on using the UpdateRepositoryDescription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRepositoryDescriptionRequest method.
req, resp := client.UpdateRepositoryDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryDescriptionWithContext

func (c *CodeCommit) UpdateRepositoryDescriptionWithContext(ctx aws.Context, input *UpdateRepositoryDescriptionInput, opts ...request.Option) (*UpdateRepositoryDescriptionOutput, error)

UpdateRepositoryDescriptionWithContext is the same as UpdateRepositoryDescription with the addition of the ability to pass a context and additional request options.

See UpdateRepositoryDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateRepositoryName

func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error)

UpdateRepositoryName API operation for AWS CodeCommit.

Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateRepositoryName for usage and error information.

Returned Error Codes:

* ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
The specified repository does not exist.

* ErrCodeRepositoryNameExistsException "RepositoryNameExistsException"
The specified repository name already exists.

* ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
A repository name is required but was not specified.

* ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

func (*CodeCommit) UpdateRepositoryNameRequest

func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput)

UpdateRepositoryNameRequest generates a "aws/request.Request" representing the client's request for the UpdateRepositoryName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRepositoryName for more information on using the UpdateRepositoryName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRepositoryNameRequest method.
req, resp := client.UpdateRepositoryNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

func (*CodeCommit) UpdateRepositoryNameWithContext

func (c *CodeCommit) UpdateRepositoryNameWithContext(ctx aws.Context, input *UpdateRepositoryNameInput, opts ...request.Option) (*UpdateRepositoryNameOutput, error)

UpdateRepositoryNameWithContext is the same as UpdateRepositoryName with the addition of the ability to pass a context and additional request options.

See UpdateRepositoryName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Comment

type Comment struct {

    // The Amazon Resource Name (ARN) of the person who posted the comment.
    AuthorArn *string `locationName:"authorArn" type:"string"`

    // A unique, client-generated idempotency token that when provided in a request,
    // ensures the request cannot be repeated with a changed parameter. If a request
    // is received with the same parameters and a token is included, the request
    // will return information about the initial request that used that token.
    ClientRequestToken *string `locationName:"clientRequestToken" type:"string"`

    // The system-generated comment ID.
    CommentId *string `locationName:"commentId" type:"string"`

    // The content of the comment.
    Content *string `locationName:"content" type:"string"`

    // The date and time the comment was created, in timestamp format.
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

    // A Boolean value indicating whether the comment has been deleted.
    Deleted *bool `locationName:"deleted" type:"boolean"`

    // The ID of the comment for which this comment is a reply, if any.
    InReplyTo *string `locationName:"inReplyTo" type:"string"`

    // The date and time the comment was most recently modified, in timestamp format.
    LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`
    // contains filtered or unexported fields
}

Returns information about a specific comment.

func (Comment) GoString

func (s Comment) GoString() string

GoString returns the string representation

func (*Comment) SetAuthorArn

func (s *Comment) SetAuthorArn(v string) *Comment

SetAuthorArn sets the AuthorArn field's value.

func (*Comment) SetClientRequestToken

func (s *Comment) SetClientRequestToken(v string) *Comment

SetClientRequestToken sets the ClientRequestToken field's value.

func (*Comment) SetCommentId

func (s *Comment) SetCommentId(v string) *Comment

SetCommentId sets the CommentId field's value.

func (*Comment) SetContent

func (s *Comment) SetContent(v string) *Comment

SetContent sets the Content field's value.

func (*Comment) SetCreationDate

func (s *Comment) SetCreationDate(v time.Time) *Comment

SetCreationDate sets the CreationDate field's value.

func (*Comment) SetDeleted

func (s *Comment) SetDeleted(v bool) *Comment

SetDeleted sets the Deleted field's value.

func (*Comment) SetInReplyTo

func (s *Comment) SetInReplyTo(v string) *Comment

SetInReplyTo sets the InReplyTo field's value.

func (*Comment) SetLastModifiedDate

func (s *Comment) SetLastModifiedDate(v time.Time) *Comment

SetLastModifiedDate sets the LastModifiedDate field's value.

func (Comment) String

func (s Comment) String() string

String returns the string representation

type CommentsForComparedCommit

type CommentsForComparedCommit struct {

    // The full blob ID of the commit used to establish the 'after' of the comparison.
    AfterBlobId *string `locationName:"afterBlobId" type:"string"`

    // The full commit ID of the commit used to establish the 'after' of the comparison.
    AfterCommitId *string `locationName:"afterCommitId" type:"string"`

    // The full blob ID of the commit used to establish the 'before' of the comparison.
    BeforeBlobId *string `locationName:"beforeBlobId" type:"string"`

    // The full commit ID of the commit used to establish the 'before' of the comparison.
    BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

    // An array of comment objects. Each comment object contains information about
    // a comment on the comparison between commits.
    Comments []*Comment `locationName:"comments" type:"list"`

    // Location information about the comment on the comparison, including the file
    // name, line number, and whether the version of the file where the comment
    // was made is 'BEFORE' or 'AFTER'.
    Location *Location `locationName:"location" type:"structure"`

    // The name of the repository that contains the compared commits.
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Returns information about comments on the comparison between two commits.

func (CommentsForComparedCommit) GoString

func (s CommentsForComparedCommit) GoString() string

GoString returns the string representation

func (*CommentsForComparedCommit) SetAfterBlobId

func (s *CommentsForComparedCommit) SetAfterBlobId(v string) *CommentsForComparedCommit

SetAfterBlobId sets the AfterBlobId field's value.

func (*CommentsForComparedCommit) SetAfterCommitId

func (s *CommentsForComparedCommit) SetAfterCommitId(v string) *CommentsForComparedCommit

SetAfterCommitId sets the AfterCommitId field's value.

func (*CommentsForComparedCommit) SetBeforeBlobId

func (s *CommentsForComparedCommit) SetBeforeBlobId(v string) *CommentsForComparedCommit

SetBeforeBlobId sets the BeforeBlobId field's value.

func (*CommentsForComparedCommit) SetBeforeCommitId

func (s *CommentsForComparedCommit) SetBeforeCommitId(v string) *CommentsForComparedCommit

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*CommentsForComparedCommit) SetComments

func (s *CommentsForComparedCommit) SetComments(v []*Comment) *CommentsForComparedCommit

SetComments sets the Comments field's value.

func (*CommentsForComparedCommit) SetLocation

func (s *CommentsForComparedCommit) SetLocation(v *Location) *CommentsForComparedCommit

SetLocation sets the Location field's value.

func (*CommentsForComparedCommit) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (CommentsForComparedCommit) String

func (s CommentsForComparedCommit) String() string

String returns the string representation

type CommentsForPullRequest

type CommentsForPullRequest struct {

    // The full blob ID of the file on which you want to comment on the source commit.
    AfterBlobId *string `locationName:"afterBlobId" type:"string"`

    // he full commit ID of the commit that was the tip of the source branch at
    // the time the comment was made.
    AfterCommitId *string `locationName:"afterCommitId" type:"string"`

    // The full blob ID of the file on which you want to comment on the destination
    // commit.
    BeforeBlobId *string `locationName:"beforeBlobId" type:"string"`

    // The full commit ID of the commit that was the tip of the destination branch
    // when the pull request was created. This commit will be superceded by the
    // after commit in the source branch when and if you merge the source branch
    // into the destination branch.
    BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

    // An array of comment objects. Each comment object contains information about
    // a comment on the pull request.
    Comments []*Comment `locationName:"comments" type:"list"`

    // Location information about the comment on the pull request, including the
    // file name, line number, and whether the version of the file where the comment
    // was made is 'BEFORE' (destination branch) or 'AFTER' (source branch).
    Location *Location `locationName:"location" type:"structure"`

    // The system-generated ID of the pull request.
    PullRequestId *string `locationName:"pullRequestId" type:"string"`

    // The name of the repository that contains the pull request.
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Returns information about comments on a pull request.

func (CommentsForPullRequest) GoString

func (s CommentsForPullRequest) GoString() string

GoString returns the string representation

func (*CommentsForPullRequest) SetAfterBlobId

func (s *CommentsForPullRequest) SetAfterBlobId(v string) *CommentsForPullRequest

SetAfterBlobId sets the AfterBlobId field's value.

func (*CommentsForPullRequest) SetAfterCommitId

func (s *CommentsForPullRequest) SetAfterCommitId(v string) *CommentsForPullRequest

SetAfterCommitId sets the AfterCommitId field's value.

func (*CommentsForPullRequest) SetBeforeBlobId

func (s *CommentsForPullRequest) SetBeforeBlobId(v string) *CommentsForPullRequest

SetBeforeBlobId sets the BeforeBlobId field's value.

func (*CommentsForPullRequest) SetBeforeCommitId

func (s *CommentsForPullRequest) SetBeforeCommitId(v string) *CommentsForPullRequest

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*CommentsForPullRequest) SetComments

func (s *CommentsForPullRequest) SetComments(v []*Comment) *CommentsForPullRequest

SetComments sets the Comments field's value.

func (*CommentsForPullRequest) SetLocation

func (s *CommentsForPullRequest) SetLocation(v *Location) *CommentsForPullRequest

SetLocation sets the Location field's value.

func (*CommentsForPullRequest) SetPullRequestId

func (s *CommentsForPullRequest) SetPullRequestId(v string) *CommentsForPullRequest

SetPullRequestId sets the PullRequestId field's value.

func (*CommentsForPullRequest) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (CommentsForPullRequest) String

func (s CommentsForPullRequest) String() string

String returns the string representation

type Commit

type Commit struct {

    // Any additional data associated with the specified commit.
    AdditionalData *string `locationName:"additionalData" type:"string"`

    // Information about the author of the specified commit. Information includes
    // the date in timestamp format with GMT offset, the name of the author, and
    // the email address for the author, as configured in Git.
    Author *UserInfo `locationName:"author" type:"structure"`

    // The full SHA of the specified commit.
    CommitId *string `locationName:"commitId" type:"string"`

    // Information about the person who committed the specified commit, also known
    // as the committer. Information includes the date in timestamp format with
    // GMT offset, the name of the committer, and the email address for the committer,
    // as configured in Git.
    //
    // For more information about the difference between an author and a committer
    // in Git, see Viewing the Commit History (http://git-scm.com/book/ch2-3.html)
    // in Pro Git by Scott Chacon and Ben Straub.
    Committer *UserInfo `locationName:"committer" type:"structure"`

    // The commit message associated with the specified commit.
    Message *string `locationName:"message" type:"string"`

    // A list of parent commits for the specified commit. Each parent commit ID
    // is the full commit ID.
    Parents []*string `locationName:"parents" type:"list"`

    // Tree information for the specified commit.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

Returns information about a specific commit.

func (Commit) GoString

func (s Commit) GoString() string

GoString returns the string representation

func (*Commit) SetAdditionalData

func (s *Commit) SetAdditionalData(v string) *Commit

SetAdditionalData sets the AdditionalData field's value.

func (*Commit) SetAuthor

func (s *Commit) SetAuthor(v *UserInfo) *Commit

SetAuthor sets the Author field's value.

func (*Commit) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*Commit) SetCommitter

func (s *Commit) SetCommitter(v *UserInfo) *Commit

SetCommitter sets the Committer field's value.

func (*Commit) SetMessage

func (s *Commit) SetMessage(v string) *Commit

SetMessage sets the Message field's value.

func (*Commit) SetParents

func (s *Commit) SetParents(v []*string) *Commit

SetParents sets the Parents field's value.

func (*Commit) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (Commit) String

func (s Commit) String() string

String returns the string representation

type Conflict

type Conflict struct {

    // Metadata about a conflict in a merge operation.
    ConflictMetadata *ConflictMetadata `locationName:"conflictMetadata" type:"structure"`

    // A list of hunks that contain the differences between files or lines causing
    // the conflict.
    MergeHunks []*MergeHunk `locationName:"mergeHunks" type:"list"`
    // contains filtered or unexported fields
}

Information about conflicts in a merge operation.

func (Conflict) GoString

func (s Conflict) GoString() string

GoString returns the string representation

func (*Conflict) SetConflictMetadata

func (s *Conflict) SetConflictMetadata(v *ConflictMetadata) *Conflict

SetConflictMetadata sets the ConflictMetadata field's value.

func (*Conflict) SetMergeHunks

func (s *Conflict) SetMergeHunks(v []*MergeHunk) *Conflict

SetMergeHunks sets the MergeHunks field's value.

func (Conflict) String

func (s Conflict) String() string

String returns the string representation

type ConflictMetadata

type ConflictMetadata struct {

    // A boolean value indicating whether there are conflicts in the content of
    // a file.
    ContentConflict *bool `locationName:"contentConflict" type:"boolean"`

    // A boolean value indicating whether there are conflicts in the file mode of
    // a file.
    FileModeConflict *bool `locationName:"fileModeConflict" type:"boolean"`

    // The file modes of the file in the source, destination, and base of the merge.
    FileModes *FileModes `locationName:"fileModes" type:"structure"`

    // The path of the file that contains conflicts.
    FilePath *string `locationName:"filePath" type:"string"`

    // The file sizes of the file in the source, destination, and base of the merge.
    FileSizes *FileSizes `locationName:"fileSizes" type:"structure"`

    // A boolean value (true or false) indicating whether the file is binary or
    // textual in the source, destination, and base of the merge.
    IsBinaryFile *IsBinaryFile `locationName:"isBinaryFile" type:"structure"`

    // Whether an add, modify, or delete operation caused the conflict between the
    // source and destination of the merge.
    MergeOperations *MergeOperations `locationName:"mergeOperations" type:"structure"`

    // The number of conflicts, including both hunk conflicts and metadata conflicts.
    NumberOfConflicts *int64 `locationName:"numberOfConflicts" type:"integer"`

    // A boolean value (true or false) indicating whether there are conflicts in
    // the object type of a file.
    ObjectTypeConflict *bool `locationName:"objectTypeConflict" type:"boolean"`

    // Information about any object type conflicts in a merge operation.
    ObjectTypes *ObjectTypes `locationName:"objectTypes" type:"structure"`
    // contains filtered or unexported fields
}

Information about the metadata for a conflict in a merge operation.

func (ConflictMetadata) GoString

func (s ConflictMetadata) GoString() string

GoString returns the string representation

func (*ConflictMetadata) SetContentConflict

func (s *ConflictMetadata) SetContentConflict(v bool) *ConflictMetadata

SetContentConflict sets the ContentConflict field's value.

func (*ConflictMetadata) SetFileModeConflict

func (s *ConflictMetadata) SetFileModeConflict(v bool) *ConflictMetadata

SetFileModeConflict sets the FileModeConflict field's value.

func (*ConflictMetadata) SetFileModes

func (s *ConflictMetadata) SetFileModes(v *FileModes) *ConflictMetadata

SetFileModes sets the FileModes field's value.

func (*ConflictMetadata) SetFilePath

func (s *ConflictMetadata) SetFilePath(v string) *ConflictMetadata

SetFilePath sets the FilePath field's value.

func (*ConflictMetadata) SetFileSizes

func (s *ConflictMetadata) SetFileSizes(v *FileSizes) *ConflictMetadata

SetFileSizes sets the FileSizes field's value.

func (*ConflictMetadata) SetIsBinaryFile

func (s *ConflictMetadata) SetIsBinaryFile(v *IsBinaryFile) *ConflictMetadata

SetIsBinaryFile sets the IsBinaryFile field's value.

func (*ConflictMetadata) SetMergeOperations

func (s *ConflictMetadata) SetMergeOperations(v *MergeOperations) *ConflictMetadata

SetMergeOperations sets the MergeOperations field's value.

func (*ConflictMetadata) SetNumberOfConflicts

func (s *ConflictMetadata) SetNumberOfConflicts(v int64) *ConflictMetadata

SetNumberOfConflicts sets the NumberOfConflicts field's value.

func (*ConflictMetadata) SetObjectTypeConflict

func (s *ConflictMetadata) SetObjectTypeConflict(v bool) *ConflictMetadata

SetObjectTypeConflict sets the ObjectTypeConflict field's value.

func (*ConflictMetadata) SetObjectTypes

func (s *ConflictMetadata) SetObjectTypes(v *ObjectTypes) *ConflictMetadata

SetObjectTypes sets the ObjectTypes field's value.

func (ConflictMetadata) String

func (s ConflictMetadata) String() string

String returns the string representation

type ConflictResolution

type ConflictResolution struct {

    // Files that will be deleted as part of the merge conflict resolution.
    DeleteFiles []*DeleteFileEntry `locationName:"deleteFiles" type:"list"`

    // Information about how a conflict in a merge will be resolved.
    ReplaceContents []*ReplaceContentEntry `locationName:"replaceContents" type:"list"`

    // File modes that will be set as part of the merge conflict resolution.
    SetFileModes []*SetFileModeEntry `locationName:"setFileModes" type:"list"`
    // contains filtered or unexported fields
}

A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.

func (ConflictResolution) GoString

func (s ConflictResolution) GoString() string

GoString returns the string representation

func (*ConflictResolution) SetDeleteFiles

func (s *ConflictResolution) SetDeleteFiles(v []*DeleteFileEntry) *ConflictResolution

SetDeleteFiles sets the DeleteFiles field's value.

func (*ConflictResolution) SetReplaceContents

func (s *ConflictResolution) SetReplaceContents(v []*ReplaceContentEntry) *ConflictResolution

SetReplaceContents sets the ReplaceContents field's value.

func (*ConflictResolution) SetSetFileModes

func (s *ConflictResolution) SetSetFileModes(v []*SetFileModeEntry) *ConflictResolution

SetSetFileModes sets the SetFileModes field's value.

func (ConflictResolution) String

func (s ConflictResolution) String() string

String returns the string representation

func (*ConflictResolution) Validate

func (s *ConflictResolution) Validate() error

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

type CreateBranchInput

type CreateBranchInput struct {

    // The name of the new branch to create.
    //
    // BranchName is a required field
    BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

    // The ID of the commit to point the new branch to.
    //
    // CommitId is a required field
    CommitId *string `locationName:"commitId" type:"string" required:"true"`

    // The name of the repository in which you want to create the new branch.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a create branch operation.

func (CreateBranchInput) GoString

func (s CreateBranchInput) GoString() string

GoString returns the string representation

func (*CreateBranchInput) SetBranchName

func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput

SetBranchName sets the BranchName field's value.

func (*CreateBranchInput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*CreateBranchInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (CreateBranchInput) String

func (s CreateBranchInput) String() string

String returns the string representation

func (*CreateBranchInput) Validate

func (s *CreateBranchInput) Validate() error

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

type CreateBranchOutput

type CreateBranchOutput struct {
    // contains filtered or unexported fields
}

func (CreateBranchOutput) GoString

func (s CreateBranchOutput) GoString() string

GoString returns the string representation

func (CreateBranchOutput) String

func (s CreateBranchOutput) String() string

String returns the string representation

type CreateCommitInput

type CreateCommitInput struct {

    // The name of the author who created the commit. This information will be used
    // as both the author and committer for the commit.
    AuthorName *string `locationName:"authorName" type:"string"`

    // The name of the branch where you will create the commit.
    //
    // BranchName is a required field
    BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

    // The commit message you want to include as part of creating the commit. Commit
    // messages are limited to 256 KB. If no message is specified, a default message
    // will be used.
    CommitMessage *string `locationName:"commitMessage" type:"string"`

    // The files to delete in this commit. These files will still exist in prior
    // commits.
    DeleteFiles []*DeleteFileEntry `locationName:"deleteFiles" type:"list"`

    // The email address of the person who created the commit.
    Email *string `locationName:"email" type:"string"`

    // If the commit contains deletions, whether to keep a folder or folder structure
    // if the changes leave the folders empty. If this is specified as true, a .gitkeep
    // file will be created for empty folders. The default is false.
    KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

    // The ID of the commit that is the parent of the commit you will create. If
    // this is an empty repository, this is not required.
    ParentCommitId *string `locationName:"parentCommitId" type:"string"`

    // The files to add or update in this commit.
    PutFiles []*PutFileEntry `locationName:"putFiles" type:"list"`

    // The name of the repository where you will create the commit.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The file modes to update for files in this commit.
    SetFileModes []*SetFileModeEntry `locationName:"setFileModes" type:"list"`
    // contains filtered or unexported fields
}

func (CreateCommitInput) GoString

func (s CreateCommitInput) GoString() string

GoString returns the string representation

func (*CreateCommitInput) SetAuthorName

func (s *CreateCommitInput) SetAuthorName(v string) *CreateCommitInput

SetAuthorName sets the AuthorName field's value.

func (*CreateCommitInput) SetBranchName

func (s *CreateCommitInput) SetBranchName(v string) *CreateCommitInput

SetBranchName sets the BranchName field's value.

func (*CreateCommitInput) SetCommitMessage

func (s *CreateCommitInput) SetCommitMessage(v string) *CreateCommitInput

SetCommitMessage sets the CommitMessage field's value.

func (*CreateCommitInput) SetDeleteFiles

func (s *CreateCommitInput) SetDeleteFiles(v []*DeleteFileEntry) *CreateCommitInput

SetDeleteFiles sets the DeleteFiles field's value.

func (*CreateCommitInput) SetEmail

func (s *CreateCommitInput) SetEmail(v string) *CreateCommitInput

SetEmail sets the Email field's value.

func (*CreateCommitInput) SetKeepEmptyFolders

func (s *CreateCommitInput) SetKeepEmptyFolders(v bool) *CreateCommitInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*CreateCommitInput) SetParentCommitId

func (s *CreateCommitInput) SetParentCommitId(v string) *CreateCommitInput

SetParentCommitId sets the ParentCommitId field's value.

func (*CreateCommitInput) SetPutFiles

func (s *CreateCommitInput) SetPutFiles(v []*PutFileEntry) *CreateCommitInput

SetPutFiles sets the PutFiles field's value.

func (*CreateCommitInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*CreateCommitInput) SetSetFileModes

func (s *CreateCommitInput) SetSetFileModes(v []*SetFileModeEntry) *CreateCommitInput

SetSetFileModes sets the SetFileModes field's value.

func (CreateCommitInput) String

func (s CreateCommitInput) String() string

String returns the string representation

func (*CreateCommitInput) Validate

func (s *CreateCommitInput) Validate() error

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

type CreateCommitOutput

type CreateCommitOutput struct {

    // The full commit ID of the commit that contains your committed file changes.
    CommitId *string `locationName:"commitId" type:"string"`

    // The files added as part of the committed file changes.
    FilesAdded []*FileMetadata `locationName:"filesAdded" type:"list"`

    // The files deleted as part of the committed file changes.
    FilesDeleted []*FileMetadata `locationName:"filesDeleted" type:"list"`

    // The files updated as part of the commited file changes.
    FilesUpdated []*FileMetadata `locationName:"filesUpdated" type:"list"`

    // The full SHA-1 pointer of the tree information for the commit that contains
    // the commited file changes.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

func (CreateCommitOutput) GoString

func (s CreateCommitOutput) GoString() string

GoString returns the string representation

func (*CreateCommitOutput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*CreateCommitOutput) SetFilesAdded

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

SetFilesAdded sets the FilesAdded field's value.

func (*CreateCommitOutput) SetFilesDeleted

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

SetFilesDeleted sets the FilesDeleted field's value.

func (*CreateCommitOutput) SetFilesUpdated

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

SetFilesUpdated sets the FilesUpdated field's value.

func (*CreateCommitOutput) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (CreateCommitOutput) String

func (s CreateCommitOutput) String() string

String returns the string representation

type CreatePullRequestInput

type CreatePullRequestInput struct {

    // A unique, client-generated idempotency token that when provided in a request,
    // ensures the request cannot be repeated with a changed parameter. If a request
    // is received with the same parameters and a token is included, the request
    // will return information about the initial request that used that token.
    //
    // The AWS SDKs prepopulate client request tokens. If using an AWS SDK, you
    // do not have to generate an idempotency token, as this will be done for you.
    ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"`

    // A description of the pull request.
    Description *string `locationName:"description" type:"string"`

    // The targets for the pull request, including the source of the code to be
    // reviewed (the source branch), and the destination where the creator of the
    // pull request intends the code to be merged after the pull request is closed
    // (the destination branch).
    //
    // Targets is a required field
    Targets []*Target `locationName:"targets" type:"list" required:"true"`

    // The title of the pull request. This title will be used to identify the pull
    // request to other users in the repository.
    //
    // Title is a required field
    Title *string `locationName:"title" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreatePullRequestInput) GoString

func (s CreatePullRequestInput) GoString() string

GoString returns the string representation

func (*CreatePullRequestInput) SetClientRequestToken

func (s *CreatePullRequestInput) SetClientRequestToken(v string) *CreatePullRequestInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreatePullRequestInput) SetDescription

func (s *CreatePullRequestInput) SetDescription(v string) *CreatePullRequestInput

SetDescription sets the Description field's value.

func (*CreatePullRequestInput) SetTargets

func (s *CreatePullRequestInput) SetTargets(v []*Target) *CreatePullRequestInput

SetTargets sets the Targets field's value.

func (*CreatePullRequestInput) SetTitle

func (s *CreatePullRequestInput) SetTitle(v string) *CreatePullRequestInput

SetTitle sets the Title field's value.

func (CreatePullRequestInput) String

func (s CreatePullRequestInput) String() string

String returns the string representation

func (*CreatePullRequestInput) Validate

func (s *CreatePullRequestInput) Validate() error

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

type CreatePullRequestOutput

type CreatePullRequestOutput struct {

    // Information about the newly created pull request.
    //
    // PullRequest is a required field
    PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreatePullRequestOutput) GoString

func (s CreatePullRequestOutput) GoString() string

GoString returns the string representation

func (*CreatePullRequestOutput) SetPullRequest

func (s *CreatePullRequestOutput) SetPullRequest(v *PullRequest) *CreatePullRequestOutput

SetPullRequest sets the PullRequest field's value.

func (CreatePullRequestOutput) String

func (s CreatePullRequestOutput) String() string

String returns the string representation

type CreateRepositoryInput

type CreateRepositoryInput struct {

    // A comment or description about the new repository.
    //
    // The description field for a repository accepts all HTML characters and all
    // valid Unicode characters. Applications that do not HTML-encode the description
    // and display it in a web page could expose users to potentially malicious
    // code. Make sure that you HTML-encode the description field in any application
    // that uses this API to display the repository description on a web page.
    RepositoryDescription *string `locationName:"repositoryDescription" type:"string"`

    // The name of the new repository to be created.
    //
    // The repository name must be unique across the calling AWS account. In addition,
    // repository names are limited to 100 alphanumeric, dash, and underscore characters,
    // and cannot include certain characters. For a full description of the limits
    // on repository names, see Limits (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html)
    // in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // One or more tag key-value pairs to use when tagging this repository.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

Represents the input of a create repository operation.

func (CreateRepositoryInput) GoString

func (s CreateRepositoryInput) GoString() string

GoString returns the string representation

func (*CreateRepositoryInput) SetRepositoryDescription

func (s *CreateRepositoryInput) SetRepositoryDescription(v string) *CreateRepositoryInput

SetRepositoryDescription sets the RepositoryDescription field's value.

func (*CreateRepositoryInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*CreateRepositoryInput) SetTags

func (s *CreateRepositoryInput) SetTags(v map[string]*string) *CreateRepositoryInput

SetTags sets the Tags field's value.

func (CreateRepositoryInput) String

func (s CreateRepositoryInput) String() string

String returns the string representation

func (*CreateRepositoryInput) Validate

func (s *CreateRepositoryInput) Validate() error

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

type CreateRepositoryOutput

type CreateRepositoryOutput struct {

    // Information about the newly created repository.
    RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"`
    // contains filtered or unexported fields
}

Represents the output of a create repository operation.

func (CreateRepositoryOutput) GoString

func (s CreateRepositoryOutput) GoString() string

GoString returns the string representation

func (*CreateRepositoryOutput) SetRepositoryMetadata

func (s *CreateRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *CreateRepositoryOutput

SetRepositoryMetadata sets the RepositoryMetadata field's value.

func (CreateRepositoryOutput) String

func (s CreateRepositoryOutput) String() string

String returns the string representation

type CreateUnreferencedMergeCommitInput

type CreateUnreferencedMergeCommitInput struct {

    // The name of the author who created the unreferenced commit. This information
    // will be used as both the author and committer for the commit.
    AuthorName *string `locationName:"authorName" type:"string"`

    // The commit message for the unreferenced commit.
    CommitMessage *string `locationName:"commitMessage" type:"string"`

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // A list of inputs to use when resolving conflicts during a merge if AUTOMERGE
    // is chosen as the conflict resolution strategy.
    ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The email address for the person who created the unreferenced commit.
    Email *string `locationName:"email" type:"string"`

    // If the commit contains deletions, whether to keep a folder or folder structure
    // if the changes leave the folders empty. If this is specified as true, a .gitkeep
    // file will be created for empty folders. The default is false.
    KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

    // The merge option or strategy you want to use to merge the code.
    //
    // MergeOption is a required field
    MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"`

    // The name of the repository where you want to create the unreferenced merge
    // commit.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateUnreferencedMergeCommitInput) GoString

func (s CreateUnreferencedMergeCommitInput) GoString() string

GoString returns the string representation

func (*CreateUnreferencedMergeCommitInput) SetAuthorName

func (s *CreateUnreferencedMergeCommitInput) SetAuthorName(v string) *CreateUnreferencedMergeCommitInput

SetAuthorName sets the AuthorName field's value.

func (*CreateUnreferencedMergeCommitInput) SetCommitMessage

func (s *CreateUnreferencedMergeCommitInput) SetCommitMessage(v string) *CreateUnreferencedMergeCommitInput

SetCommitMessage sets the CommitMessage field's value.

func (*CreateUnreferencedMergeCommitInput) SetConflictDetailLevel

func (s *CreateUnreferencedMergeCommitInput) SetConflictDetailLevel(v string) *CreateUnreferencedMergeCommitInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*CreateUnreferencedMergeCommitInput) SetConflictResolution

func (s *CreateUnreferencedMergeCommitInput) SetConflictResolution(v *ConflictResolution) *CreateUnreferencedMergeCommitInput

SetConflictResolution sets the ConflictResolution field's value.

func (*CreateUnreferencedMergeCommitInput) SetConflictResolutionStrategy

func (s *CreateUnreferencedMergeCommitInput) SetConflictResolutionStrategy(v string) *CreateUnreferencedMergeCommitInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*CreateUnreferencedMergeCommitInput) SetDestinationCommitSpecifier

func (s *CreateUnreferencedMergeCommitInput) SetDestinationCommitSpecifier(v string) *CreateUnreferencedMergeCommitInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*CreateUnreferencedMergeCommitInput) SetEmail

func (s *CreateUnreferencedMergeCommitInput) SetEmail(v string) *CreateUnreferencedMergeCommitInput

SetEmail sets the Email field's value.

func (*CreateUnreferencedMergeCommitInput) SetKeepEmptyFolders

func (s *CreateUnreferencedMergeCommitInput) SetKeepEmptyFolders(v bool) *CreateUnreferencedMergeCommitInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*CreateUnreferencedMergeCommitInput) SetMergeOption

func (s *CreateUnreferencedMergeCommitInput) SetMergeOption(v string) *CreateUnreferencedMergeCommitInput

SetMergeOption sets the MergeOption field's value.

func (*CreateUnreferencedMergeCommitInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*CreateUnreferencedMergeCommitInput) SetSourceCommitSpecifier

func (s *CreateUnreferencedMergeCommitInput) SetSourceCommitSpecifier(v string) *CreateUnreferencedMergeCommitInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (CreateUnreferencedMergeCommitInput) String

func (s CreateUnreferencedMergeCommitInput) String() string

String returns the string representation

func (*CreateUnreferencedMergeCommitInput) Validate

func (s *CreateUnreferencedMergeCommitInput) Validate() error

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

type CreateUnreferencedMergeCommitOutput

type CreateUnreferencedMergeCommitOutput struct {

    // The full commit ID of the commit that contains your merge results.
    CommitId *string `locationName:"commitId" type:"string"`

    // The full SHA-1 pointer of the tree information for the commit that contains
    // the merge results.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

func (CreateUnreferencedMergeCommitOutput) GoString

func (s CreateUnreferencedMergeCommitOutput) GoString() string

GoString returns the string representation

func (*CreateUnreferencedMergeCommitOutput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*CreateUnreferencedMergeCommitOutput) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (CreateUnreferencedMergeCommitOutput) String

func (s CreateUnreferencedMergeCommitOutput) String() string

String returns the string representation

type DeleteBranchInput

type DeleteBranchInput struct {

    // The name of the branch to delete.
    //
    // BranchName is a required field
    BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

    // The name of the repository that contains the branch to be deleted.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a delete branch operation.

func (DeleteBranchInput) GoString

func (s DeleteBranchInput) GoString() string

GoString returns the string representation

func (*DeleteBranchInput) SetBranchName

func (s *DeleteBranchInput) SetBranchName(v string) *DeleteBranchInput

SetBranchName sets the BranchName field's value.

func (*DeleteBranchInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (DeleteBranchInput) String

func (s DeleteBranchInput) String() string

String returns the string representation

func (*DeleteBranchInput) Validate

func (s *DeleteBranchInput) Validate() error

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

type DeleteBranchOutput

type DeleteBranchOutput struct {

    // Information about the branch deleted by the operation, including the branch
    // name and the commit ID that was the tip of the branch.
    DeletedBranch *BranchInfo `locationName:"deletedBranch" type:"structure"`
    // contains filtered or unexported fields
}

Represents the output of a delete branch operation.

func (DeleteBranchOutput) GoString

func (s DeleteBranchOutput) GoString() string

GoString returns the string representation

func (*DeleteBranchOutput) SetDeletedBranch

func (s *DeleteBranchOutput) SetDeletedBranch(v *BranchInfo) *DeleteBranchOutput

SetDeletedBranch sets the DeletedBranch field's value.

func (DeleteBranchOutput) String

func (s DeleteBranchOutput) String() string

String returns the string representation

type DeleteCommentContentInput

type DeleteCommentContentInput struct {

    // The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit
    // or GetCommentsForPullRequest.
    //
    // CommentId is a required field
    CommentId *string `locationName:"commentId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCommentContentInput) GoString

func (s DeleteCommentContentInput) GoString() string

GoString returns the string representation

func (*DeleteCommentContentInput) SetCommentId

func (s *DeleteCommentContentInput) SetCommentId(v string) *DeleteCommentContentInput

SetCommentId sets the CommentId field's value.

func (DeleteCommentContentInput) String

func (s DeleteCommentContentInput) String() string

String returns the string representation

func (*DeleteCommentContentInput) Validate

func (s *DeleteCommentContentInput) Validate() error

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

type DeleteCommentContentOutput

type DeleteCommentContentOutput struct {

    // Information about the comment you just deleted.
    Comment *Comment `locationName:"comment" type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteCommentContentOutput) GoString

func (s DeleteCommentContentOutput) GoString() string

GoString returns the string representation

func (*DeleteCommentContentOutput) SetComment

func (s *DeleteCommentContentOutput) SetComment(v *Comment) *DeleteCommentContentOutput

SetComment sets the Comment field's value.

func (DeleteCommentContentOutput) String

func (s DeleteCommentContentOutput) String() string

String returns the string representation

type DeleteFileEntry

type DeleteFileEntry struct {

    // The full path of the file that will be deleted, including the name of the
    // file.
    //
    // FilePath is a required field
    FilePath *string `locationName:"filePath" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A file that will be deleted as part of a commit.

func (DeleteFileEntry) GoString

func (s DeleteFileEntry) GoString() string

GoString returns the string representation

func (*DeleteFileEntry) SetFilePath

func (s *DeleteFileEntry) SetFilePath(v string) *DeleteFileEntry

SetFilePath sets the FilePath field's value.

func (DeleteFileEntry) String

func (s DeleteFileEntry) String() string

String returns the string representation

func (*DeleteFileEntry) Validate

func (s *DeleteFileEntry) Validate() error

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

type DeleteFileInput

type DeleteFileInput struct {

    // The name of the branch where the commit will be made deleting the file.
    //
    // BranchName is a required field
    BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

    // The commit message you want to include as part of deleting the file. Commit
    // messages are limited to 256 KB. If no message is specified, a default message
    // will be used.
    CommitMessage *string `locationName:"commitMessage" type:"string"`

    // The email address for the commit that deletes the file. If no email address
    // is specified, the email address will be left blank.
    Email *string `locationName:"email" type:"string"`

    // The fully-qualified path to the file that will be deleted, including the
    // full name and extension of that file. For example, /examples/file.md is a
    // fully qualified path to a file named file.md in a folder named examples.
    //
    // FilePath is a required field
    FilePath *string `locationName:"filePath" type:"string" required:"true"`

    // Specifies whether to delete the folder or directory that contains the file
    // you want to delete if that file is the only object in the folder or directory.
    // By default, empty folders will be deleted. This includes empty folders that
    // are part of the directory structure. For example, if the path to a file is
    // dir1/dir2/dir3/dir4, and dir2 and dir3 are empty, deleting the last file
    // in dir4 will also delete the empty folders dir4, dir3, and dir2.
    KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

    // The name of the author of the commit that deletes the file. If no name is
    // specified, the user's ARN will be used as the author name and committer name.
    Name *string `locationName:"name" type:"string"`

    // The ID of the commit that is the tip of the branch where you want to create
    // the commit that will delete the file. This must be the HEAD commit for the
    // branch. The commit that deletes the file will be created from this commit
    // ID.
    //
    // ParentCommitId is a required field
    ParentCommitId *string `locationName:"parentCommitId" type:"string" required:"true"`

    // The name of the repository that contains the file to delete.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteFileInput) GoString

func (s DeleteFileInput) GoString() string

GoString returns the string representation

func (*DeleteFileInput) SetBranchName

func (s *DeleteFileInput) SetBranchName(v string) *DeleteFileInput

SetBranchName sets the BranchName field's value.

func (*DeleteFileInput) SetCommitMessage

func (s *DeleteFileInput) SetCommitMessage(v string) *DeleteFileInput

SetCommitMessage sets the CommitMessage field's value.

func (*DeleteFileInput) SetEmail

func (s *DeleteFileInput) SetEmail(v string) *DeleteFileInput

SetEmail sets the Email field's value.

func (*DeleteFileInput) SetFilePath

func (s *DeleteFileInput) SetFilePath(v string) *DeleteFileInput

SetFilePath sets the FilePath field's value.

func (*DeleteFileInput) SetKeepEmptyFolders

func (s *DeleteFileInput) SetKeepEmptyFolders(v bool) *DeleteFileInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*DeleteFileInput) SetName

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

SetName sets the Name field's value.

func (*DeleteFileInput) SetParentCommitId

func (s *DeleteFileInput) SetParentCommitId(v string) *DeleteFileInput

SetParentCommitId sets the ParentCommitId field's value.

func (*DeleteFileInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (DeleteFileInput) String

func (s DeleteFileInput) String() string

String returns the string representation

func (*DeleteFileInput) Validate

func (s *DeleteFileInput) Validate() error

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

type DeleteFileOutput

type DeleteFileOutput struct {

    // The blob ID removed from the tree as part of deleting the file.
    //
    // BlobId is a required field
    BlobId *string `locationName:"blobId" type:"string" required:"true"`

    // The full commit ID of the commit that contains the change that deletes the
    // file.
    //
    // CommitId is a required field
    CommitId *string `locationName:"commitId" type:"string" required:"true"`

    // The fully-qualified path to the file that will be deleted, including the
    // full name and extension of that file.
    //
    // FilePath is a required field
    FilePath *string `locationName:"filePath" type:"string" required:"true"`

    // The full SHA-1 pointer of the tree information for the commit that contains
    // the delete file change.
    //
    // TreeId is a required field
    TreeId *string `locationName:"treeId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteFileOutput) GoString

func (s DeleteFileOutput) GoString() string

GoString returns the string representation

func (*DeleteFileOutput) SetBlobId

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

SetBlobId sets the BlobId field's value.

func (*DeleteFileOutput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*DeleteFileOutput) SetFilePath

func (s *DeleteFileOutput) SetFilePath(v string) *DeleteFileOutput

SetFilePath sets the FilePath field's value.

func (*DeleteFileOutput) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (DeleteFileOutput) String

func (s DeleteFileOutput) String() string

String returns the string representation

type DeleteRepositoryInput

type DeleteRepositoryInput struct {

    // The name of the repository to delete.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a delete repository operation.

func (DeleteRepositoryInput) GoString

func (s DeleteRepositoryInput) GoString() string

GoString returns the string representation

func (*DeleteRepositoryInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (DeleteRepositoryInput) String

func (s DeleteRepositoryInput) String() string

String returns the string representation

func (*DeleteRepositoryInput) Validate

func (s *DeleteRepositoryInput) Validate() error

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

type DeleteRepositoryOutput

type DeleteRepositoryOutput struct {

    // The ID of the repository that was deleted.
    RepositoryId *string `locationName:"repositoryId" type:"string"`
    // contains filtered or unexported fields
}

Represents the output of a delete repository operation.

func (DeleteRepositoryOutput) GoString

func (s DeleteRepositoryOutput) GoString() string

GoString returns the string representation

func (*DeleteRepositoryOutput) SetRepositoryId

func (s *DeleteRepositoryOutput) SetRepositoryId(v string) *DeleteRepositoryOutput

SetRepositoryId sets the RepositoryId field's value.

func (DeleteRepositoryOutput) String

func (s DeleteRepositoryOutput) String() string

String returns the string representation

type DescribeMergeConflictsInput

type DescribeMergeConflictsInput struct {

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The path of the target files used to describe the conflicts.
    //
    // FilePath is a required field
    FilePath *string `locationName:"filePath" type:"string" required:"true"`

    // The maximum number of merge hunks to include in the output.
    MaxMergeHunks *int64 `locationName:"maxMergeHunks" type:"integer"`

    // The merge option or strategy you want to use to merge the code.
    //
    // MergeOption is a required field
    MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"`

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The name of the repository where you want to get information about a merge
    // conflict.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeMergeConflictsInput) GoString

func (s DescribeMergeConflictsInput) GoString() string

GoString returns the string representation

func (*DescribeMergeConflictsInput) SetConflictDetailLevel

func (s *DescribeMergeConflictsInput) SetConflictDetailLevel(v string) *DescribeMergeConflictsInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*DescribeMergeConflictsInput) SetConflictResolutionStrategy

func (s *DescribeMergeConflictsInput) SetConflictResolutionStrategy(v string) *DescribeMergeConflictsInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*DescribeMergeConflictsInput) SetDestinationCommitSpecifier

func (s *DescribeMergeConflictsInput) SetDestinationCommitSpecifier(v string) *DescribeMergeConflictsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*DescribeMergeConflictsInput) SetFilePath

func (s *DescribeMergeConflictsInput) SetFilePath(v string) *DescribeMergeConflictsInput

SetFilePath sets the FilePath field's value.

func (*DescribeMergeConflictsInput) SetMaxMergeHunks

func (s *DescribeMergeConflictsInput) SetMaxMergeHunks(v int64) *DescribeMergeConflictsInput

SetMaxMergeHunks sets the MaxMergeHunks field's value.

func (*DescribeMergeConflictsInput) SetMergeOption

func (s *DescribeMergeConflictsInput) SetMergeOption(v string) *DescribeMergeConflictsInput

SetMergeOption sets the MergeOption field's value.

func (*DescribeMergeConflictsInput) SetNextToken

func (s *DescribeMergeConflictsInput) SetNextToken(v string) *DescribeMergeConflictsInput

SetNextToken sets the NextToken field's value.

func (*DescribeMergeConflictsInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*DescribeMergeConflictsInput) SetSourceCommitSpecifier

func (s *DescribeMergeConflictsInput) SetSourceCommitSpecifier(v string) *DescribeMergeConflictsInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (DescribeMergeConflictsInput) String

func (s DescribeMergeConflictsInput) String() string

String returns the string representation

func (*DescribeMergeConflictsInput) Validate

func (s *DescribeMergeConflictsInput) Validate() error

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

type DescribeMergeConflictsOutput

type DescribeMergeConflictsOutput struct {

    // The commit ID of the merge base.
    BaseCommitId *string `locationName:"baseCommitId" type:"string"`

    // Contains metadata about the conflicts found in the merge.
    //
    // ConflictMetadata is a required field
    ConflictMetadata *ConflictMetadata `locationName:"conflictMetadata" type:"structure" required:"true"`

    // The commit ID of the destination commit specifier that was used in the merge
    // evaluation.
    //
    // DestinationCommitId is a required field
    DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"`

    // A list of merge hunks of the differences between the files or lines.
    //
    // MergeHunks is a required field
    MergeHunks []*MergeHunk `locationName:"mergeHunks" type:"list" required:"true"`

    // An enumeration token that can be used in a request to return the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The commit ID of the source commit specifier that was used in the merge evaluation.
    //
    // SourceCommitId is a required field
    SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeMergeConflictsOutput) GoString

func (s DescribeMergeConflictsOutput) GoString() string

GoString returns the string representation

func (*DescribeMergeConflictsOutput) SetBaseCommitId

func (s *DescribeMergeConflictsOutput) SetBaseCommitId(v string) *DescribeMergeConflictsOutput

SetBaseCommitId sets the BaseCommitId field's value.

func (*DescribeMergeConflictsOutput) SetConflictMetadata

func (s *DescribeMergeConflictsOutput) SetConflictMetadata(v *ConflictMetadata) *DescribeMergeConflictsOutput

SetConflictMetadata sets the ConflictMetadata field's value.

func (*DescribeMergeConflictsOutput) SetDestinationCommitId

func (s *DescribeMergeConflictsOutput) SetDestinationCommitId(v string) *DescribeMergeConflictsOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*DescribeMergeConflictsOutput) SetMergeHunks

func (s *DescribeMergeConflictsOutput) SetMergeHunks(v []*MergeHunk) *DescribeMergeConflictsOutput

SetMergeHunks sets the MergeHunks field's value.

func (*DescribeMergeConflictsOutput) SetNextToken

func (s *DescribeMergeConflictsOutput) SetNextToken(v string) *DescribeMergeConflictsOutput

SetNextToken sets the NextToken field's value.

func (*DescribeMergeConflictsOutput) SetSourceCommitId

func (s *DescribeMergeConflictsOutput) SetSourceCommitId(v string) *DescribeMergeConflictsOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (DescribeMergeConflictsOutput) String

func (s DescribeMergeConflictsOutput) String() string

String returns the string representation

type DescribePullRequestEventsInput

type DescribePullRequestEventsInput struct {

    // The Amazon Resource Name (ARN) of the user whose actions resulted in the
    // event. Examples include updating the pull request with additional commits
    // or changing the status of a pull request.
    ActorArn *string `locationName:"actorArn" type:"string"`

    // A non-negative integer used to limit the number of returned results. The
    // default is 100 events, which is also the maximum number of events that can
    // be returned in a result.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Optional. The pull request event type about which you want to return information.
    PullRequestEventType *string `locationName:"pullRequestEventType" type:"string" enum:"PullRequestEventType"`

    // The system-generated ID of the pull request. To get this ID, use ListPullRequests.
    //
    // PullRequestId is a required field
    PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribePullRequestEventsInput) GoString

func (s DescribePullRequestEventsInput) GoString() string

GoString returns the string representation

func (*DescribePullRequestEventsInput) SetActorArn

func (s *DescribePullRequestEventsInput) SetActorArn(v string) *DescribePullRequestEventsInput

SetActorArn sets the ActorArn field's value.

func (*DescribePullRequestEventsInput) SetMaxResults

func (s *DescribePullRequestEventsInput) SetMaxResults(v int64) *DescribePullRequestEventsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribePullRequestEventsInput) SetNextToken

func (s *DescribePullRequestEventsInput) SetNextToken(v string) *DescribePullRequestEventsInput

SetNextToken sets the NextToken field's value.

func (*DescribePullRequestEventsInput) SetPullRequestEventType

func (s *DescribePullRequestEventsInput) SetPullRequestEventType(v string) *DescribePullRequestEventsInput

SetPullRequestEventType sets the PullRequestEventType field's value.

func (*DescribePullRequestEventsInput) SetPullRequestId

func (s *DescribePullRequestEventsInput) SetPullRequestId(v string) *DescribePullRequestEventsInput

SetPullRequestId sets the PullRequestId field's value.

func (DescribePullRequestEventsInput) String

func (s DescribePullRequestEventsInput) String() string

String returns the string representation

func (*DescribePullRequestEventsInput) Validate

func (s *DescribePullRequestEventsInput) Validate() error

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

type DescribePullRequestEventsOutput

type DescribePullRequestEventsOutput struct {

    // An enumeration token that can be used in a request to return the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Information about the pull request events.
    //
    // PullRequestEvents is a required field
    PullRequestEvents []*PullRequestEvent `locationName:"pullRequestEvents" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DescribePullRequestEventsOutput) GoString

func (s DescribePullRequestEventsOutput) GoString() string

GoString returns the string representation

func (*DescribePullRequestEventsOutput) SetNextToken

func (s *DescribePullRequestEventsOutput) SetNextToken(v string) *DescribePullRequestEventsOutput

SetNextToken sets the NextToken field's value.

func (*DescribePullRequestEventsOutput) SetPullRequestEvents

func (s *DescribePullRequestEventsOutput) SetPullRequestEvents(v []*PullRequestEvent) *DescribePullRequestEventsOutput

SetPullRequestEvents sets the PullRequestEvents field's value.

func (DescribePullRequestEventsOutput) String

func (s DescribePullRequestEventsOutput) String() string

String returns the string representation

type Difference

type Difference struct {

    // Information about an afterBlob data type object, including the ID, the file
    // mode permission code, and the path.
    AfterBlob *BlobMetadata `locationName:"afterBlob" type:"structure"`

    // Information about a beforeBlob data type object, including the ID, the file
    // mode permission code, and the path.
    BeforeBlob *BlobMetadata `locationName:"beforeBlob" type:"structure"`

    // Whether the change type of the difference is an addition (A), deletion (D),
    // or modification (M).
    ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeTypeEnum"`
    // contains filtered or unexported fields
}

Returns information about a set of differences for a commit specifier.

func (Difference) GoString

func (s Difference) GoString() string

GoString returns the string representation

func (*Difference) SetAfterBlob

func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference

SetAfterBlob sets the AfterBlob field's value.

func (*Difference) SetBeforeBlob

func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference

SetBeforeBlob sets the BeforeBlob field's value.

func (*Difference) SetChangeType

func (s *Difference) SetChangeType(v string) *Difference

SetChangeType sets the ChangeType field's value.

func (Difference) String

func (s Difference) String() string

String returns the string representation

type File

type File struct {

    // The fully-qualified path to the file in the repository.
    AbsolutePath *string `locationName:"absolutePath" type:"string"`

    // The blob ID that contains the file information.
    BlobId *string `locationName:"blobId" type:"string"`

    // The extrapolated file mode permissions for the file. Valid values include
    // EXECUTABLE and NORMAL.
    FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"`

    // The relative path of the file from the folder where the query originated.
    RelativePath *string `locationName:"relativePath" type:"string"`
    // contains filtered or unexported fields
}

Returns information about a file in a repository.

func (File) GoString

func (s File) GoString() string

GoString returns the string representation

func (*File) SetAbsolutePath

func (s *File) SetAbsolutePath(v string) *File

SetAbsolutePath sets the AbsolutePath field's value.

func (*File) SetBlobId

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

SetBlobId sets the BlobId field's value.

func (*File) SetFileMode

func (s *File) SetFileMode(v string) *File

SetFileMode sets the FileMode field's value.

func (*File) SetRelativePath

func (s *File) SetRelativePath(v string) *File

SetRelativePath sets the RelativePath field's value.

func (File) String

func (s File) String() string

String returns the string representation

type FileMetadata

type FileMetadata struct {

    // The full path to the file that will be added or updated, including the name
    // of the file.
    AbsolutePath *string `locationName:"absolutePath" type:"string"`

    // The blob ID that contains the file information.
    BlobId *string `locationName:"blobId" type:"string"`

    // The extrapolated file mode permissions for the file. Valid values include
    // EXECUTABLE and NORMAL.
    FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"`
    // contains filtered or unexported fields
}

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

func (FileMetadata) GoString

func (s FileMetadata) GoString() string

GoString returns the string representation

func (*FileMetadata) SetAbsolutePath

func (s *FileMetadata) SetAbsolutePath(v string) *FileMetadata

SetAbsolutePath sets the AbsolutePath field's value.

func (*FileMetadata) SetBlobId

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

SetBlobId sets the BlobId field's value.

func (*FileMetadata) SetFileMode

func (s *FileMetadata) SetFileMode(v string) *FileMetadata

SetFileMode sets the FileMode field's value.

func (FileMetadata) String

func (s FileMetadata) String() string

String returns the string representation

type FileModes

type FileModes struct {

    // The file mode of a file in the base of a merge or pull request.
    Base *string `locationName:"base" type:"string" enum:"FileModeTypeEnum"`

    // The file mode of a file in the destination of a merge or pull request.
    Destination *string `locationName:"destination" type:"string" enum:"FileModeTypeEnum"`

    // The file mode of a file in the source of a merge or pull request.
    Source *string `locationName:"source" type:"string" enum:"FileModeTypeEnum"`
    // contains filtered or unexported fields
}

Information about file modes in a merge or pull request.

func (FileModes) GoString

func (s FileModes) GoString() string

GoString returns the string representation

func (*FileModes) SetBase

func (s *FileModes) SetBase(v string) *FileModes

SetBase sets the Base field's value.

func (*FileModes) SetDestination

func (s *FileModes) SetDestination(v string) *FileModes

SetDestination sets the Destination field's value.

func (*FileModes) SetSource

func (s *FileModes) SetSource(v string) *FileModes

SetSource sets the Source field's value.

func (FileModes) String

func (s FileModes) String() string

String returns the string representation

type FileSizes

type FileSizes struct {

    // The size of a file in the base of a merge or pull request.
    Base *int64 `locationName:"base" type:"long"`

    // The size of a file in the destination of a merge or pull request.
    Destination *int64 `locationName:"destination" type:"long"`

    // The size of a file in the source of a merge or pull request.
    Source *int64 `locationName:"source" type:"long"`
    // contains filtered or unexported fields
}

Information about the size of files in a merge or pull request.

func (FileSizes) GoString

func (s FileSizes) GoString() string

GoString returns the string representation

func (*FileSizes) SetBase

func (s *FileSizes) SetBase(v int64) *FileSizes

SetBase sets the Base field's value.

func (*FileSizes) SetDestination

func (s *FileSizes) SetDestination(v int64) *FileSizes

SetDestination sets the Destination field's value.

func (*FileSizes) SetSource

func (s *FileSizes) SetSource(v int64) *FileSizes

SetSource sets the Source field's value.

func (FileSizes) String

func (s FileSizes) String() string

String returns the string representation

type Folder

type Folder struct {

    // The fully-qualified path of the folder in the repository.
    AbsolutePath *string `locationName:"absolutePath" type:"string"`

    // The relative path of the specified folder from the folder where the query
    // originated.
    RelativePath *string `locationName:"relativePath" type:"string"`

    // The full SHA-1 pointer of the tree information for the commit that contains
    // the folder.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

Returns information about a folder in a repository.

func (Folder) GoString

func (s Folder) GoString() string

GoString returns the string representation

func (*Folder) SetAbsolutePath

func (s *Folder) SetAbsolutePath(v string) *Folder

SetAbsolutePath sets the AbsolutePath field's value.

func (*Folder) SetRelativePath

func (s *Folder) SetRelativePath(v string) *Folder

SetRelativePath sets the RelativePath field's value.

func (*Folder) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (Folder) String

func (s Folder) String() string

String returns the string representation

type GetBlobInput

type GetBlobInput struct {

    // The ID of the blob, which is its SHA-1 pointer.
    //
    // BlobId is a required field
    BlobId *string `locationName:"blobId" type:"string" required:"true"`

    // The name of the repository that contains the blob.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a get blob operation.

func (GetBlobInput) GoString

func (s GetBlobInput) GoString() string

GoString returns the string representation

func (*GetBlobInput) SetBlobId

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

SetBlobId sets the BlobId field's value.

func (*GetBlobInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetBlobInput) String

func (s GetBlobInput) String() string

String returns the string representation

func (*GetBlobInput) Validate

func (s *GetBlobInput) Validate() error

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

type GetBlobOutput

type GetBlobOutput struct {

    // The content of the blob, usually a file.
    //
    // Content is automatically base64 encoded/decoded by the SDK.
    //
    // Content is a required field
    Content []byte `locationName:"content" type:"blob" required:"true"`
    // contains filtered or unexported fields
}

Represents the output of a get blob operation.

func (GetBlobOutput) GoString

func (s GetBlobOutput) GoString() string

GoString returns the string representation

func (*GetBlobOutput) SetContent

func (s *GetBlobOutput) SetContent(v []byte) *GetBlobOutput

SetContent sets the Content field's value.

func (GetBlobOutput) String

func (s GetBlobOutput) String() string

String returns the string representation

type GetBranchInput

type GetBranchInput struct {

    // The name of the branch for which you want to retrieve information.
    BranchName *string `locationName:"branchName" min:"1" type:"string"`

    // The name of the repository that contains the branch for which you want to
    // retrieve information.
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Represents the input of a get branch operation.

func (GetBranchInput) GoString

func (s GetBranchInput) GoString() string

GoString returns the string representation

func (*GetBranchInput) SetBranchName

func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput

SetBranchName sets the BranchName field's value.

func (*GetBranchInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetBranchInput) String

func (s GetBranchInput) String() string

String returns the string representation

func (*GetBranchInput) Validate

func (s *GetBranchInput) Validate() error

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

type GetBranchOutput

type GetBranchOutput struct {

    // The name of the branch.
    Branch *BranchInfo `locationName:"branch" type:"structure"`
    // contains filtered or unexported fields
}

Represents the output of a get branch operation.

func (GetBranchOutput) GoString

func (s GetBranchOutput) GoString() string

GoString returns the string representation

func (*GetBranchOutput) SetBranch

func (s *GetBranchOutput) SetBranch(v *BranchInfo) *GetBranchOutput

SetBranch sets the Branch field's value.

func (GetBranchOutput) String

func (s GetBranchOutput) String() string

String returns the string representation

type GetCommentInput

type GetCommentInput struct {

    // The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit
    // or GetCommentsForPullRequest.
    //
    // CommentId is a required field
    CommentId *string `locationName:"commentId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetCommentInput) GoString

func (s GetCommentInput) GoString() string

GoString returns the string representation

func (*GetCommentInput) SetCommentId

func (s *GetCommentInput) SetCommentId(v string) *GetCommentInput

SetCommentId sets the CommentId field's value.

func (GetCommentInput) String

func (s GetCommentInput) String() string

String returns the string representation

func (*GetCommentInput) Validate

func (s *GetCommentInput) Validate() error

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

type GetCommentOutput

type GetCommentOutput struct {

    // The contents of the comment.
    Comment *Comment `locationName:"comment" type:"structure"`
    // contains filtered or unexported fields
}

func (GetCommentOutput) GoString

func (s GetCommentOutput) GoString() string

GoString returns the string representation

func (*GetCommentOutput) SetComment

func (s *GetCommentOutput) SetComment(v *Comment) *GetCommentOutput

SetComment sets the Comment field's value.

func (GetCommentOutput) String

func (s GetCommentOutput) String() string

String returns the string representation

type GetCommentsForComparedCommitInput

type GetCommentsForComparedCommitInput struct {

    // To establish the directionality of the comparison, the full commit ID of
    // the 'after' commit.
    //
    // AfterCommitId is a required field
    AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"`

    // To establish the directionality of the comparison, the full commit ID of
    // the 'before' commit.
    BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

    // A non-negative integer used to limit the number of returned results. The
    // default is 100 comments, and is configurable up to 500.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The name of the repository where you want to compare commits.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetCommentsForComparedCommitInput) GoString

func (s GetCommentsForComparedCommitInput) GoString() string

GoString returns the string representation

func (*GetCommentsForComparedCommitInput) SetAfterCommitId

func (s *GetCommentsForComparedCommitInput) SetAfterCommitId(v string) *GetCommentsForComparedCommitInput

SetAfterCommitId sets the AfterCommitId field's value.

func (*GetCommentsForComparedCommitInput) SetBeforeCommitId

func (s *GetCommentsForComparedCommitInput) SetBeforeCommitId(v string) *GetCommentsForComparedCommitInput

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*GetCommentsForComparedCommitInput) SetMaxResults

func (s *GetCommentsForComparedCommitInput) SetMaxResults(v int64) *GetCommentsForComparedCommitInput

SetMaxResults sets the MaxResults field's value.

func (*GetCommentsForComparedCommitInput) SetNextToken

func (s *GetCommentsForComparedCommitInput) SetNextToken(v string) *GetCommentsForComparedCommitInput

SetNextToken sets the NextToken field's value.

func (*GetCommentsForComparedCommitInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetCommentsForComparedCommitInput) String

func (s GetCommentsForComparedCommitInput) String() string

String returns the string representation

func (*GetCommentsForComparedCommitInput) Validate

func (s *GetCommentsForComparedCommitInput) Validate() error

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

type GetCommentsForComparedCommitOutput

type GetCommentsForComparedCommitOutput struct {

    // A list of comment objects on the compared commit.
    CommentsForComparedCommitData []*CommentsForComparedCommit `locationName:"commentsForComparedCommitData" type:"list"`

    // An enumeration token that can be used in a request to return the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetCommentsForComparedCommitOutput) GoString

func (s GetCommentsForComparedCommitOutput) GoString() string

GoString returns the string representation

func (*GetCommentsForComparedCommitOutput) SetCommentsForComparedCommitData

func (s *GetCommentsForComparedCommitOutput) SetCommentsForComparedCommitData(v []*CommentsForComparedCommit) *GetCommentsForComparedCommitOutput

SetCommentsForComparedCommitData sets the CommentsForComparedCommitData field's value.

func (*GetCommentsForComparedCommitOutput) SetNextToken

func (s *GetCommentsForComparedCommitOutput) SetNextToken(v string) *GetCommentsForComparedCommitOutput

SetNextToken sets the NextToken field's value.

func (GetCommentsForComparedCommitOutput) String

func (s GetCommentsForComparedCommitOutput) String() string

String returns the string representation

type GetCommentsForPullRequestInput

type GetCommentsForPullRequestInput struct {

    // The full commit ID of the commit in the source branch that was the tip of
    // the branch at the time the comment was made.
    AfterCommitId *string `locationName:"afterCommitId" type:"string"`

    // The full commit ID of the commit in the destination branch that was the tip
    // of the branch at the time the pull request was created.
    BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

    // A non-negative integer used to limit the number of returned results. The
    // default is 100 comments. You can return up to 500 comments with a single
    // request.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The system-generated ID of the pull request. To get this ID, use ListPullRequests.
    //
    // PullRequestId is a required field
    PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

    // The name of the repository that contains the pull request.
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (GetCommentsForPullRequestInput) GoString

func (s GetCommentsForPullRequestInput) GoString() string

GoString returns the string representation

func (*GetCommentsForPullRequestInput) SetAfterCommitId

func (s *GetCommentsForPullRequestInput) SetAfterCommitId(v string) *GetCommentsForPullRequestInput

SetAfterCommitId sets the AfterCommitId field's value.

func (*GetCommentsForPullRequestInput) SetBeforeCommitId

func (s *GetCommentsForPullRequestInput) SetBeforeCommitId(v string) *GetCommentsForPullRequestInput

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*GetCommentsForPullRequestInput) SetMaxResults

func (s *GetCommentsForPullRequestInput) SetMaxResults(v int64) *GetCommentsForPullRequestInput

SetMaxResults sets the MaxResults field's value.

func (*GetCommentsForPullRequestInput) SetNextToken

func (s *GetCommentsForPullRequestInput) SetNextToken(v string) *GetCommentsForPullRequestInput

SetNextToken sets the NextToken field's value.

func (*GetCommentsForPullRequestInput) SetPullRequestId

func (s *GetCommentsForPullRequestInput) SetPullRequestId(v string) *GetCommentsForPullRequestInput

SetPullRequestId sets the PullRequestId field's value.

func (*GetCommentsForPullRequestInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetCommentsForPullRequestInput) String

func (s GetCommentsForPullRequestInput) String() string

String returns the string representation

func (*GetCommentsForPullRequestInput) Validate

func (s *GetCommentsForPullRequestInput) Validate() error

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

type GetCommentsForPullRequestOutput

type GetCommentsForPullRequestOutput struct {

    // An array of comment objects on the pull request.
    CommentsForPullRequestData []*CommentsForPullRequest `locationName:"commentsForPullRequestData" type:"list"`

    // An enumeration token that can be used in a request to return the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetCommentsForPullRequestOutput) GoString

func (s GetCommentsForPullRequestOutput) GoString() string

GoString returns the string representation

func (*GetCommentsForPullRequestOutput) SetCommentsForPullRequestData

func (s *GetCommentsForPullRequestOutput) SetCommentsForPullRequestData(v []*CommentsForPullRequest) *GetCommentsForPullRequestOutput

SetCommentsForPullRequestData sets the CommentsForPullRequestData field's value.

func (*GetCommentsForPullRequestOutput) SetNextToken

func (s *GetCommentsForPullRequestOutput) SetNextToken(v string) *GetCommentsForPullRequestOutput

SetNextToken sets the NextToken field's value.

func (GetCommentsForPullRequestOutput) String

func (s GetCommentsForPullRequestOutput) String() string

String returns the string representation

type GetCommitInput

type GetCommitInput struct {

    // The commit ID. Commit IDs are the full SHA of the commit.
    //
    // CommitId is a required field
    CommitId *string `locationName:"commitId" type:"string" required:"true"`

    // The name of the repository to which the commit was made.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a get commit operation.

func (GetCommitInput) GoString

func (s GetCommitInput) GoString() string

GoString returns the string representation

func (*GetCommitInput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*GetCommitInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetCommitInput) String

func (s GetCommitInput) String() string

String returns the string representation

func (*GetCommitInput) Validate

func (s *GetCommitInput) Validate() error

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

type GetCommitOutput

type GetCommitOutput struct {

    // A commit data type object that contains information about the specified commit.
    //
    // Commit is a required field
    Commit *Commit `locationName:"commit" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Represents the output of a get commit operation.

func (GetCommitOutput) GoString

func (s GetCommitOutput) GoString() string

GoString returns the string representation

func (*GetCommitOutput) SetCommit

func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput

SetCommit sets the Commit field's value.

func (GetCommitOutput) String

func (s GetCommitOutput) String() string

String returns the string representation

type GetDifferencesInput

type GetDifferencesInput struct {

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit.
    //
    // AfterCommitSpecifier is a required field
    AfterCommitSpecifier *string `locationName:"afterCommitSpecifier" type:"string" required:"true"`

    // The file path in which to check differences. Limits the results to this path.
    // Can also be used to specify the changed name of a directory or folder, if
    // it has changed. If not specified, differences will be shown for all paths.
    AfterPath *string `locationName:"afterPath" type:"string"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, the full commit ID. Optional. If not specified, all
    // changes prior to the afterCommitSpecifier value will be shown. If you do
    // not use beforeCommitSpecifier in your request, consider limiting the results
    // with maxResults.
    BeforeCommitSpecifier *string `locationName:"beforeCommitSpecifier" type:"string"`

    // The file path in which to check for differences. Limits the results to this
    // path. Can also be used to specify the previous name of a directory or folder.
    // If beforePath and afterPath are not specified, differences will be shown
    // for all paths.
    BeforePath *string `locationName:"beforePath" type:"string"`

    // A non-negative integer used to limit the number of returned results.
    MaxResults *int64 `type:"integer"`

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `type:"string"`

    // The name of the repository where you want to get differences.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetDifferencesInput) GoString

func (s GetDifferencesInput) GoString() string

GoString returns the string representation

func (*GetDifferencesInput) SetAfterCommitSpecifier

func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput

SetAfterCommitSpecifier sets the AfterCommitSpecifier field's value.

func (*GetDifferencesInput) SetAfterPath

func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput

SetAfterPath sets the AfterPath field's value.

func (*GetDifferencesInput) SetBeforeCommitSpecifier

func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput

SetBeforeCommitSpecifier sets the BeforeCommitSpecifier field's value.

func (*GetDifferencesInput) SetBeforePath

func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput

SetBeforePath sets the BeforePath field's value.

func (*GetDifferencesInput) SetMaxResults

func (s *GetDifferencesInput) SetMaxResults(v int64) *GetDifferencesInput

SetMaxResults sets the MaxResults field's value.

func (*GetDifferencesInput) SetNextToken

func (s *GetDifferencesInput) SetNextToken(v string) *GetDifferencesInput

SetNextToken sets the NextToken field's value.

func (*GetDifferencesInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetDifferencesInput) String

func (s GetDifferencesInput) String() string

String returns the string representation

func (*GetDifferencesInput) Validate

func (s *GetDifferencesInput) Validate() error

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

type GetDifferencesOutput

type GetDifferencesOutput struct {

    // A differences data type object that contains information about the differences,
    // including whether the difference is added, modified, or deleted (A, D, M).
    Differences []*Difference `locationName:"differences" type:"list"`

    // An enumeration token that can be used in a request to return the next batch
    // of the results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetDifferencesOutput) GoString

func (s GetDifferencesOutput) GoString() string

GoString returns the string representation

func (*GetDifferencesOutput) SetDifferences

func (s *GetDifferencesOutput) SetDifferences(v []*Difference) *GetDifferencesOutput

SetDifferences sets the Differences field's value.

func (*GetDifferencesOutput) SetNextToken

func (s *GetDifferencesOutput) SetNextToken(v string) *GetDifferencesOutput

SetNextToken sets the NextToken field's value.

func (GetDifferencesOutput) String

func (s GetDifferencesOutput) String() string

String returns the string representation

type GetFileInput

type GetFileInput struct {

    // The fully-quaified reference that identifies the commit that contains the
    // file. For example, you could specify a full commit ID, a tag, a branch name,
    // or a reference such as refs/heads/master. If none is provided, then the head
    // commit will be used.
    CommitSpecifier *string `locationName:"commitSpecifier" type:"string"`

    // The fully-qualified path to the file, including the full name and extension
    // of the file. For example, /examples/file.md is the fully-qualified path to
    // a file named file.md in a folder named examples.
    //
    // FilePath is a required field
    FilePath *string `locationName:"filePath" type:"string" required:"true"`

    // The name of the repository that contains the file.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetFileInput) GoString

func (s GetFileInput) GoString() string

GoString returns the string representation

func (*GetFileInput) SetCommitSpecifier

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

SetCommitSpecifier sets the CommitSpecifier field's value.

func (*GetFileInput) SetFilePath

func (s *GetFileInput) SetFilePath(v string) *GetFileInput

SetFilePath sets the FilePath field's value.

func (*GetFileInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetFileInput) String

func (s GetFileInput) String() string

String returns the string representation

func (*GetFileInput) Validate

func (s *GetFileInput) Validate() error

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

type GetFileOutput

type GetFileOutput struct {

    // The blob ID of the object that represents the file content.
    //
    // BlobId is a required field
    BlobId *string `locationName:"blobId" type:"string" required:"true"`

    // The full commit ID of the commit that contains the content returned by GetFile.
    //
    // CommitId is a required field
    CommitId *string `locationName:"commitId" type:"string" required:"true"`

    // The base-64 encoded binary data object that represents the content of the
    // file.
    //
    // FileContent is automatically base64 encoded/decoded by the SDK.
    //
    // FileContent is a required field
    FileContent []byte `locationName:"fileContent" type:"blob" required:"true"`

    // The extrapolated file mode permissions of the blob. Valid values include
    // strings such as EXECUTABLE and not numeric values.
    //
    // The file mode permissions returned by this API are not the standard file
    // mode permission values, such as 100644, but rather extrapolated values. See
    // below for a full list of supported return values.
    //
    // FileMode is a required field
    FileMode *string `locationName:"fileMode" type:"string" required:"true" enum:"FileModeTypeEnum"`

    // The fully qualified path to the specified file. This returns the name and
    // extension of the file.
    //
    // FilePath is a required field
    FilePath *string `locationName:"filePath" type:"string" required:"true"`

    // The size of the contents of the file, in bytes.
    //
    // FileSize is a required field
    FileSize *int64 `locationName:"fileSize" type:"long" required:"true"`
    // contains filtered or unexported fields
}

func (GetFileOutput) GoString

func (s GetFileOutput) GoString() string

GoString returns the string representation

func (*GetFileOutput) SetBlobId

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

SetBlobId sets the BlobId field's value.

func (*GetFileOutput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*GetFileOutput) SetFileContent

func (s *GetFileOutput) SetFileContent(v []byte) *GetFileOutput

SetFileContent sets the FileContent field's value.

func (*GetFileOutput) SetFileMode

func (s *GetFileOutput) SetFileMode(v string) *GetFileOutput

SetFileMode sets the FileMode field's value.

func (*GetFileOutput) SetFilePath

func (s *GetFileOutput) SetFilePath(v string) *GetFileOutput

SetFilePath sets the FilePath field's value.

func (*GetFileOutput) SetFileSize

func (s *GetFileOutput) SetFileSize(v int64) *GetFileOutput

SetFileSize sets the FileSize field's value.

func (GetFileOutput) String

func (s GetFileOutput) String() string

String returns the string representation

type GetFolderInput

type GetFolderInput struct {

    // 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.
    CommitSpecifier *string `locationName:"commitSpecifier" 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
    FolderPath *string `locationName:"folderPath" type:"string" required:"true"`

    // The name of the repository.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetFolderInput) GoString

func (s GetFolderInput) GoString() string

GoString returns the string representation

func (*GetFolderInput) SetCommitSpecifier

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

SetCommitSpecifier sets the CommitSpecifier field's value.

func (*GetFolderInput) SetFolderPath

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

SetFolderPath sets the FolderPath field's value.

func (*GetFolderInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetFolderInput) String

func (s GetFolderInput) String() string

String returns the string representation

func (*GetFolderInput) Validate

func (s *GetFolderInput) Validate() error

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

type GetFolderOutput

type GetFolderOutput struct {

    // The full commit ID used as a reference for which version of the folder content
    // is returned.
    //
    // CommitId is a required field
    CommitId *string `locationName:"commitId" type:"string" required:"true"`

    // The list of files that exist in the specified folder, if any.
    Files []*File `locationName:"files" type:"list"`

    // The fully-qualified path of the folder whose contents are returned.
    //
    // FolderPath is a required field
    FolderPath *string `locationName:"folderPath" type:"string" required:"true"`

    // The list of folders that exist beneath the specified folder, if any.
    SubFolders []*Folder `locationName:"subFolders" type:"list"`

    // The list of submodules that exist in the specified folder, if any.
    SubModules []*SubModule `locationName:"subModules" type:"list"`

    // The list of symbolic links to other files and folders that exist in the specified
    // folder, if any.
    SymbolicLinks []*SymbolicLink `locationName:"symbolicLinks" type:"list"`

    // The full SHA-1 pointer of the tree information for the commit that contains
    // the folder.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

func (GetFolderOutput) GoString

func (s GetFolderOutput) GoString() string

GoString returns the string representation

func (*GetFolderOutput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*GetFolderOutput) SetFiles

func (s *GetFolderOutput) SetFiles(v []*File) *GetFolderOutput

SetFiles sets the Files field's value.

func (*GetFolderOutput) SetFolderPath

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

SetFolderPath sets the FolderPath field's value.

func (*GetFolderOutput) SetSubFolders

func (s *GetFolderOutput) SetSubFolders(v []*Folder) *GetFolderOutput

SetSubFolders sets the SubFolders field's value.

func (*GetFolderOutput) SetSubModules

func (s *GetFolderOutput) SetSubModules(v []*SubModule) *GetFolderOutput

SetSubModules sets the SubModules field's value.

func (s *GetFolderOutput) SetSymbolicLinks(v []*SymbolicLink) *GetFolderOutput

SetSymbolicLinks sets the SymbolicLinks field's value.

func (*GetFolderOutput) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (GetFolderOutput) String

func (s GetFolderOutput) String() string

String returns the string representation

type GetMergeCommitInput

type GetMergeCommitInput struct {

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The name of the repository that contains the merge commit about which you
    // want to get information.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetMergeCommitInput) GoString

func (s GetMergeCommitInput) GoString() string

GoString returns the string representation

func (*GetMergeCommitInput) SetConflictDetailLevel

func (s *GetMergeCommitInput) SetConflictDetailLevel(v string) *GetMergeCommitInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*GetMergeCommitInput) SetConflictResolutionStrategy

func (s *GetMergeCommitInput) SetConflictResolutionStrategy(v string) *GetMergeCommitInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*GetMergeCommitInput) SetDestinationCommitSpecifier

func (s *GetMergeCommitInput) SetDestinationCommitSpecifier(v string) *GetMergeCommitInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*GetMergeCommitInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*GetMergeCommitInput) SetSourceCommitSpecifier

func (s *GetMergeCommitInput) SetSourceCommitSpecifier(v string) *GetMergeCommitInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (GetMergeCommitInput) String

func (s GetMergeCommitInput) String() string

String returns the string representation

func (*GetMergeCommitInput) Validate

func (s *GetMergeCommitInput) Validate() error

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

type GetMergeCommitOutput

type GetMergeCommitOutput struct {

    // The commit ID of the merge base.
    BaseCommitId *string `locationName:"baseCommitId" type:"string"`

    // The commit ID of the destination commit specifier that was used in the merge
    // evaluation.
    DestinationCommitId *string `locationName:"destinationCommitId" type:"string"`

    // The commit ID for the merge commit created when the source branch was merged
    // into the destination branch. If the fast-forward merge strategy was used,
    // no merge commit exists.
    MergedCommitId *string `locationName:"mergedCommitId" type:"string"`

    // The commit ID of the source commit specifier that was used in the merge evaluation.
    SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
    // contains filtered or unexported fields
}

func (GetMergeCommitOutput) GoString

func (s GetMergeCommitOutput) GoString() string

GoString returns the string representation

func (*GetMergeCommitOutput) SetBaseCommitId

func (s *GetMergeCommitOutput) SetBaseCommitId(v string) *GetMergeCommitOutput

SetBaseCommitId sets the BaseCommitId field's value.

func (*GetMergeCommitOutput) SetDestinationCommitId

func (s *GetMergeCommitOutput) SetDestinationCommitId(v string) *GetMergeCommitOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*GetMergeCommitOutput) SetMergedCommitId

func (s *GetMergeCommitOutput) SetMergedCommitId(v string) *GetMergeCommitOutput

SetMergedCommitId sets the MergedCommitId field's value.

func (*GetMergeCommitOutput) SetSourceCommitId

func (s *GetMergeCommitOutput) SetSourceCommitId(v string) *GetMergeCommitOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (GetMergeCommitOutput) String

func (s GetMergeCommitOutput) String() string

String returns the string representation

type GetMergeConflictsInput

type GetMergeConflictsInput struct {

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The maximum number of files to include in the output.
    MaxConflictFiles *int64 `locationName:"maxConflictFiles" type:"integer"`

    // The merge option or strategy you want to use to merge the code.
    //
    // MergeOption is a required field
    MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"`

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The name of the repository where the pull request was created.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetMergeConflictsInput) GoString

func (s GetMergeConflictsInput) GoString() string

GoString returns the string representation

func (*GetMergeConflictsInput) SetConflictDetailLevel

func (s *GetMergeConflictsInput) SetConflictDetailLevel(v string) *GetMergeConflictsInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*GetMergeConflictsInput) SetConflictResolutionStrategy

func (s *GetMergeConflictsInput) SetConflictResolutionStrategy(v string) *GetMergeConflictsInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*GetMergeConflictsInput) SetDestinationCommitSpecifier

func (s *GetMergeConflictsInput) SetDestinationCommitSpecifier(v string) *GetMergeConflictsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*GetMergeConflictsInput) SetMaxConflictFiles

func (s *GetMergeConflictsInput) SetMaxConflictFiles(v int64) *GetMergeConflictsInput

SetMaxConflictFiles sets the MaxConflictFiles field's value.

func (*GetMergeConflictsInput) SetMergeOption

func (s *GetMergeConflictsInput) SetMergeOption(v string) *GetMergeConflictsInput

SetMergeOption sets the MergeOption field's value.

func (*GetMergeConflictsInput) SetNextToken

func (s *GetMergeConflictsInput) SetNextToken(v string) *GetMergeConflictsInput

SetNextToken sets the NextToken field's value.

func (*GetMergeConflictsInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*GetMergeConflictsInput) SetSourceCommitSpecifier

func (s *GetMergeConflictsInput) SetSourceCommitSpecifier(v string) *GetMergeConflictsInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (GetMergeConflictsInput) String

func (s GetMergeConflictsInput) String() string

String returns the string representation

func (*GetMergeConflictsInput) Validate

func (s *GetMergeConflictsInput) Validate() error

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

type GetMergeConflictsOutput

type GetMergeConflictsOutput struct {

    // The commit ID of the merge base.
    BaseCommitId *string `locationName:"baseCommitId" type:"string"`

    // A list of metadata for any conflicts found.
    //
    // ConflictMetadataList is a required field
    ConflictMetadataList []*ConflictMetadata `locationName:"conflictMetadataList" type:"list" required:"true"`

    // The commit ID of the destination commit specifier that was used in the merge
    // evaluation.
    //
    // DestinationCommitId is a required field
    DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"`

    // A Boolean value that indicates whether the code is mergeable by the specified
    // merge option.
    //
    // Mergeable is a required field
    Mergeable *bool `locationName:"mergeable" type:"boolean" required:"true"`

    // An enumeration token that can be used in a request to return the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The commit ID of the source commit specifier that was used in the merge evaluation.
    //
    // SourceCommitId is a required field
    SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetMergeConflictsOutput) GoString

func (s GetMergeConflictsOutput) GoString() string

GoString returns the string representation

func (*GetMergeConflictsOutput) SetBaseCommitId

func (s *GetMergeConflictsOutput) SetBaseCommitId(v string) *GetMergeConflictsOutput

SetBaseCommitId sets the BaseCommitId field's value.

func (*GetMergeConflictsOutput) SetConflictMetadataList

func (s *GetMergeConflictsOutput) SetConflictMetadataList(v []*ConflictMetadata) *GetMergeConflictsOutput

SetConflictMetadataList sets the ConflictMetadataList field's value.

func (*GetMergeConflictsOutput) SetDestinationCommitId

func (s *GetMergeConflictsOutput) SetDestinationCommitId(v string) *GetMergeConflictsOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*GetMergeConflictsOutput) SetMergeable

func (s *GetMergeConflictsOutput) SetMergeable(v bool) *GetMergeConflictsOutput

SetMergeable sets the Mergeable field's value.

func (*GetMergeConflictsOutput) SetNextToken

func (s *GetMergeConflictsOutput) SetNextToken(v string) *GetMergeConflictsOutput

SetNextToken sets the NextToken field's value.

func (*GetMergeConflictsOutput) SetSourceCommitId

func (s *GetMergeConflictsOutput) SetSourceCommitId(v string) *GetMergeConflictsOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (GetMergeConflictsOutput) String

func (s GetMergeConflictsOutput) String() string

String returns the string representation

type GetMergeOptionsInput

type GetMergeOptionsInput struct {

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The name of the repository that contains the commits about which you want
    // to get merge options.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetMergeOptionsInput) GoString

func (s GetMergeOptionsInput) GoString() string

GoString returns the string representation

func (*GetMergeOptionsInput) SetConflictDetailLevel

func (s *GetMergeOptionsInput) SetConflictDetailLevel(v string) *GetMergeOptionsInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*GetMergeOptionsInput) SetConflictResolutionStrategy

func (s *GetMergeOptionsInput) SetConflictResolutionStrategy(v string) *GetMergeOptionsInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*GetMergeOptionsInput) SetDestinationCommitSpecifier

func (s *GetMergeOptionsInput) SetDestinationCommitSpecifier(v string) *GetMergeOptionsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*GetMergeOptionsInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*GetMergeOptionsInput) SetSourceCommitSpecifier

func (s *GetMergeOptionsInput) SetSourceCommitSpecifier(v string) *GetMergeOptionsInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (GetMergeOptionsInput) String

func (s GetMergeOptionsInput) String() string

String returns the string representation

func (*GetMergeOptionsInput) Validate

func (s *GetMergeOptionsInput) Validate() error

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

type GetMergeOptionsOutput

type GetMergeOptionsOutput struct {

    // The commit ID of the merge base.
    //
    // BaseCommitId is a required field
    BaseCommitId *string `locationName:"baseCommitId" type:"string" required:"true"`

    // The commit ID of the destination commit specifier that was used in the merge
    // evaluation.
    //
    // DestinationCommitId is a required field
    DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"`

    // The merge option or strategy used to merge the code.
    //
    // MergeOptions is a required field
    MergeOptions []*string `locationName:"mergeOptions" type:"list" required:"true"`

    // The commit ID of the source commit specifier that was used in the merge evaluation.
    //
    // SourceCommitId is a required field
    SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetMergeOptionsOutput) GoString

func (s GetMergeOptionsOutput) GoString() string

GoString returns the string representation

func (*GetMergeOptionsOutput) SetBaseCommitId

func (s *GetMergeOptionsOutput) SetBaseCommitId(v string) *GetMergeOptionsOutput

SetBaseCommitId sets the BaseCommitId field's value.

func (*GetMergeOptionsOutput) SetDestinationCommitId

func (s *GetMergeOptionsOutput) SetDestinationCommitId(v string) *GetMergeOptionsOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*GetMergeOptionsOutput) SetMergeOptions

func (s *GetMergeOptionsOutput) SetMergeOptions(v []*string) *GetMergeOptionsOutput

SetMergeOptions sets the MergeOptions field's value.

func (*GetMergeOptionsOutput) SetSourceCommitId

func (s *GetMergeOptionsOutput) SetSourceCommitId(v string) *GetMergeOptionsOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (GetMergeOptionsOutput) String

func (s GetMergeOptionsOutput) String() string

String returns the string representation

type GetPullRequestInput

type GetPullRequestInput struct {

    // The system-generated ID of the pull request. To get this ID, use ListPullRequests.
    //
    // PullRequestId is a required field
    PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetPullRequestInput) GoString

func (s GetPullRequestInput) GoString() string

GoString returns the string representation

func (*GetPullRequestInput) SetPullRequestId

func (s *GetPullRequestInput) SetPullRequestId(v string) *GetPullRequestInput

SetPullRequestId sets the PullRequestId field's value.

func (GetPullRequestInput) String

func (s GetPullRequestInput) String() string

String returns the string representation

func (*GetPullRequestInput) Validate

func (s *GetPullRequestInput) Validate() error

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

type GetPullRequestOutput

type GetPullRequestOutput struct {

    // Information about the specified pull request.
    //
    // PullRequest is a required field
    PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetPullRequestOutput) GoString

func (s GetPullRequestOutput) GoString() string

GoString returns the string representation

func (*GetPullRequestOutput) SetPullRequest

func (s *GetPullRequestOutput) SetPullRequest(v *PullRequest) *GetPullRequestOutput

SetPullRequest sets the PullRequest field's value.

func (GetPullRequestOutput) String

func (s GetPullRequestOutput) String() string

String returns the string representation

type GetRepositoryInput

type GetRepositoryInput struct {

    // The name of the repository to get information about.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a get repository operation.

func (GetRepositoryInput) GoString

func (s GetRepositoryInput) GoString() string

GoString returns the string representation

func (*GetRepositoryInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryInput) String

func (s GetRepositoryInput) String() string

String returns the string representation

func (*GetRepositoryInput) Validate

func (s *GetRepositoryInput) Validate() error

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

type GetRepositoryOutput

type GetRepositoryOutput struct {

    // Information about the repository.
    RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"`
    // contains filtered or unexported fields
}

Represents the output of a get repository operation.

func (GetRepositoryOutput) GoString

func (s GetRepositoryOutput) GoString() string

GoString returns the string representation

func (*GetRepositoryOutput) SetRepositoryMetadata

func (s *GetRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *GetRepositoryOutput

SetRepositoryMetadata sets the RepositoryMetadata field's value.

func (GetRepositoryOutput) String

func (s GetRepositoryOutput) String() string

String returns the string representation

type GetRepositoryTriggersInput

type GetRepositoryTriggersInput struct {

    // The name of the repository for which the trigger is configured.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a get repository triggers operation.

func (GetRepositoryTriggersInput) GoString

func (s GetRepositoryTriggersInput) GoString() string

GoString returns the string representation

func (*GetRepositoryTriggersInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryTriggersInput) String

func (s GetRepositoryTriggersInput) String() string

String returns the string representation

func (*GetRepositoryTriggersInput) Validate

func (s *GetRepositoryTriggersInput) Validate() error

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

type GetRepositoryTriggersOutput

type GetRepositoryTriggersOutput struct {

    // The system-generated unique ID for the trigger.
    ConfigurationId *string `locationName:"configurationId" type:"string"`

    // The JSON block of configuration information for each trigger.
    Triggers []*RepositoryTrigger `locationName:"triggers" type:"list"`
    // contains filtered or unexported fields
}

Represents the output of a get repository triggers operation.

func (GetRepositoryTriggersOutput) GoString

func (s GetRepositoryTriggersOutput) GoString() string

GoString returns the string representation

func (*GetRepositoryTriggersOutput) SetConfigurationId

func (s *GetRepositoryTriggersOutput) SetConfigurationId(v string) *GetRepositoryTriggersOutput

SetConfigurationId sets the ConfigurationId field's value.

func (*GetRepositoryTriggersOutput) SetTriggers

func (s *GetRepositoryTriggersOutput) SetTriggers(v []*RepositoryTrigger) *GetRepositoryTriggersOutput

SetTriggers sets the Triggers field's value.

func (GetRepositoryTriggersOutput) String

func (s GetRepositoryTriggersOutput) String() string

String returns the string representation

type IsBinaryFile

type IsBinaryFile struct {

    // The binary or non-binary status of a file in the base of a merge or pull
    // request.
    Base *bool `locationName:"base" type:"boolean"`

    // The binary or non-binary status of a file in the destination of a merge or
    // pull request.
    Destination *bool `locationName:"destination" type:"boolean"`

    // The binary or non-binary status of file in the source of a merge or pull
    // request.
    Source *bool `locationName:"source" type:"boolean"`
    // contains filtered or unexported fields
}

Information about whether a file is binary or textual in a merge or pull request operation.

func (IsBinaryFile) GoString

func (s IsBinaryFile) GoString() string

GoString returns the string representation

func (*IsBinaryFile) SetBase

func (s *IsBinaryFile) SetBase(v bool) *IsBinaryFile

SetBase sets the Base field's value.

func (*IsBinaryFile) SetDestination

func (s *IsBinaryFile) SetDestination(v bool) *IsBinaryFile

SetDestination sets the Destination field's value.

func (*IsBinaryFile) SetSource

func (s *IsBinaryFile) SetSource(v bool) *IsBinaryFile

SetSource sets the Source field's value.

func (IsBinaryFile) String

func (s IsBinaryFile) String() string

String returns the string representation

type ListBranchesInput

type ListBranchesInput struct {

    // An enumeration token that allows the operation to batch the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The name of the repository that contains the branches.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents the input of a list branches operation.

func (ListBranchesInput) GoString

func (s ListBranchesInput) GoString() string

GoString returns the string representation

func (*ListBranchesInput) SetNextToken

func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput

SetNextToken sets the NextToken field's value.

func (*ListBranchesInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (ListBranchesInput) String

func (s ListBranchesInput) String() string

String returns the string representation

func (*ListBranchesInput) Validate

func (s *ListBranchesInput) Validate() error

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

type ListBranchesOutput

type ListBranchesOutput struct {

    // The list of branch names.
    Branches []*string `locationName:"branches" type:"list"`

    // An enumeration token that returns the batch of the results.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

Represents the output of a list branches operation.

func (ListBranchesOutput) GoString

func (s ListBranchesOutput) GoString() string

GoString returns the string representation

func (*ListBranchesOutput) SetBranches

func (s *ListBranchesOutput) SetBranches(v []*string) *ListBranchesOutput

SetBranches sets the Branches field's value.

func (*ListBranchesOutput) SetNextToken

func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput

SetNextToken sets the NextToken field's value.

func (ListBranchesOutput) String

func (s ListBranchesOutput) String() string

String returns the string representation

type ListPullRequestsInput

type ListPullRequestsInput struct {

    // Optional. The Amazon Resource Name (ARN) of the user who created the pull
    // request. If used, this filters the results to pull requests created by that
    // user.
    AuthorArn *string `locationName:"authorArn" type:"string"`

    // A non-negative integer used to limit the number of returned results.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Optional. The status of the pull request. If used, this refines the results
    // to the pull requests that match the specified status.
    PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" enum:"PullRequestStatusEnum"`

    // The name of the repository for which you want to list pull requests.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListPullRequestsInput) GoString

func (s ListPullRequestsInput) GoString() string

GoString returns the string representation

func (*ListPullRequestsInput) SetAuthorArn

func (s *ListPullRequestsInput) SetAuthorArn(v string) *ListPullRequestsInput

SetAuthorArn sets the AuthorArn field's value.

func (*ListPullRequestsInput) SetMaxResults

func (s *ListPullRequestsInput) SetMaxResults(v int64) *ListPullRequestsInput

SetMaxResults sets the MaxResults field's value.

func (*ListPullRequestsInput) SetNextToken

func (s *ListPullRequestsInput) SetNextToken(v string) *ListPullRequestsInput

SetNextToken sets the NextToken field's value.

func (*ListPullRequestsInput) SetPullRequestStatus

func (s *ListPullRequestsInput) SetPullRequestStatus(v string) *ListPullRequestsInput

SetPullRequestStatus sets the PullRequestStatus field's value.

func (*ListPullRequestsInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (ListPullRequestsInput) String

func (s ListPullRequestsInput) String() string

String returns the string representation

func (*ListPullRequestsInput) Validate

func (s *ListPullRequestsInput) Validate() error

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

type ListPullRequestsOutput

type ListPullRequestsOutput struct {

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The system-generated IDs of the pull requests.
    //
    // PullRequestIds is a required field
    PullRequestIds []*string `locationName:"pullRequestIds" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (ListPullRequestsOutput) GoString

func (s ListPullRequestsOutput) GoString() string

GoString returns the string representation

func (*ListPullRequestsOutput) SetNextToken

func (s *ListPullRequestsOutput) SetNextToken(v string) *ListPullRequestsOutput

SetNextToken sets the NextToken field's value.

func (*ListPullRequestsOutput) SetPullRequestIds

func (s *ListPullRequestsOutput) SetPullRequestIds(v []*string) *ListPullRequestsOutput

SetPullRequestIds sets the PullRequestIds field's value.

func (ListPullRequestsOutput) String

func (s ListPullRequestsOutput) String() string

String returns the string representation

type ListRepositoriesInput

type ListRepositoriesInput struct {

    // An enumeration token that allows the operation to batch the results of the
    // operation. Batch sizes are 1,000 for list repository operations. When the
    // client sends the token back to AWS CodeCommit, another page of 1,000 records
    // is retrieved.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The order in which to sort the results of a list repositories operation.
    Order *string `locationName:"order" type:"string" enum:"OrderEnum"`

    // The criteria used to sort the results of a list repositories operation.
    SortBy *string `locationName:"sortBy" type:"string" enum:"SortByEnum"`
    // contains filtered or unexported fields
}

Represents the input of a list repositories operation.

func (ListRepositoriesInput) GoString

func (s ListRepositoriesInput) GoString() string

GoString returns the string representation

func (*ListRepositoriesInput) SetNextToken

func (s *ListRepositoriesInput) SetNextToken(v string) *ListRepositoriesInput

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInput) SetOrder

func (s *ListRepositoriesInput) SetOrder(v string) *ListRepositoriesInput

SetOrder sets the Order field's value.

func (*ListRepositoriesInput) SetSortBy

func (s *ListRepositoriesInput) SetSortBy(v string) *ListRepositoriesInput

SetSortBy sets the SortBy field's value.

func (ListRepositoriesInput) String

func (s ListRepositoriesInput) String() string

String returns the string representation

type ListRepositoriesOutput

type ListRepositoriesOutput struct {

    // An enumeration token that allows the operation to batch the results of the
    // operation. Batch sizes are 1,000 for list repository operations. When the
    // client sends the token back to AWS CodeCommit, another page of 1,000 records
    // is retrieved.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Lists the repositories called by the list repositories operation.
    Repositories []*RepositoryNameIdPair `locationName:"repositories" type:"list"`
    // contains filtered or unexported fields
}

Represents the output of a list repositories operation.

func (ListRepositoriesOutput) GoString

func (s ListRepositoriesOutput) GoString() string

GoString returns the string representation

func (*ListRepositoriesOutput) SetNextToken

func (s *ListRepositoriesOutput) SetNextToken(v string) *ListRepositoriesOutput

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesOutput) SetRepositories

func (s *ListRepositoriesOutput) SetRepositories(v []*RepositoryNameIdPair) *ListRepositoriesOutput

SetRepositories sets the Repositories field's value.

func (ListRepositoriesOutput) String

func (s ListRepositoriesOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

    // An enumeration token that when provided in a request, returns the next batch
    // of the results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The Amazon Resource Name (ARN) of the resource for which you want to get
    // information about tags, if any.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetNextToken

func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceInput) SetResourceArn

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

    // An enumeration token that allows the operation to batch the next results
    // of the operation.
    NextToken *string `locationName:"nextToken" type:"string"`

    // A list of tag key and value pairs associated with the specified resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetNextToken

func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceOutput) SetTags

func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type Location

type Location struct {

    // The name of the file being compared, including its extension and subdirectory,
    // if any.
    FilePath *string `locationName:"filePath" type:"string"`

    // The position of a change within a compared file, in line number format.
    FilePosition *int64 `locationName:"filePosition" type:"long"`

    // In a comparison of commits or a pull request, whether the change is in the
    // 'before' or 'after' of that comparison.
    RelativeFileVersion *string `locationName:"relativeFileVersion" type:"string" enum:"RelativeFileVersionEnum"`
    // contains filtered or unexported fields
}

Returns information about the location of a change or comment in the comparison between two commits or a pull request.

func (Location) GoString

func (s Location) GoString() string

GoString returns the string representation

func (*Location) SetFilePath

func (s *Location) SetFilePath(v string) *Location

SetFilePath sets the FilePath field's value.

func (*Location) SetFilePosition

func (s *Location) SetFilePosition(v int64) *Location

SetFilePosition sets the FilePosition field's value.

func (*Location) SetRelativeFileVersion

func (s *Location) SetRelativeFileVersion(v string) *Location

SetRelativeFileVersion sets the RelativeFileVersion field's value.

func (Location) String

func (s Location) String() string

String returns the string representation

type MergeBranchesByFastForwardInput

type MergeBranchesByFastForwardInput struct {

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The name of the repository where you want to merge two branches.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`

    // The branch where the merge will be applied.
    TargetBranch *string `locationName:"targetBranch" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (MergeBranchesByFastForwardInput) GoString

func (s MergeBranchesByFastForwardInput) GoString() string

GoString returns the string representation

func (*MergeBranchesByFastForwardInput) SetDestinationCommitSpecifier

func (s *MergeBranchesByFastForwardInput) SetDestinationCommitSpecifier(v string) *MergeBranchesByFastForwardInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*MergeBranchesByFastForwardInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*MergeBranchesByFastForwardInput) SetSourceCommitSpecifier

func (s *MergeBranchesByFastForwardInput) SetSourceCommitSpecifier(v string) *MergeBranchesByFastForwardInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (*MergeBranchesByFastForwardInput) SetTargetBranch

func (s *MergeBranchesByFastForwardInput) SetTargetBranch(v string) *MergeBranchesByFastForwardInput

SetTargetBranch sets the TargetBranch field's value.

func (MergeBranchesByFastForwardInput) String

func (s MergeBranchesByFastForwardInput) String() string

String returns the string representation

func (*MergeBranchesByFastForwardInput) Validate

func (s *MergeBranchesByFastForwardInput) Validate() error

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

type MergeBranchesByFastForwardOutput

type MergeBranchesByFastForwardOutput struct {

    // The commit ID of the merge in the destination or target branch.
    CommitId *string `locationName:"commitId" type:"string"`

    // The tree ID of the merge in the destination or target branch.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

func (MergeBranchesByFastForwardOutput) GoString

func (s MergeBranchesByFastForwardOutput) GoString() string

GoString returns the string representation

func (*MergeBranchesByFastForwardOutput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*MergeBranchesByFastForwardOutput) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (MergeBranchesByFastForwardOutput) String

func (s MergeBranchesByFastForwardOutput) String() string

String returns the string representation

type MergeBranchesBySquashInput

type MergeBranchesBySquashInput struct {

    // The name of the author who created the commit. This information will be used
    // as both the author and committer for the commit.
    AuthorName *string `locationName:"authorName" type:"string"`

    // The commit message for the merge.
    CommitMessage *string `locationName:"commitMessage" type:"string"`

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // A list of inputs to use when resolving conflicts during a merge if AUTOMERGE
    // is chosen as the conflict resolution strategy.
    ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The email address of the person merging the branches. This information will
    // be used in the commit information for the merge.
    Email *string `locationName:"email" type:"string"`

    // If the commit contains deletions, whether to keep a folder or folder structure
    // if the changes leave the folders empty. If this is specified as true, a .gitkeep
    // file will be created for empty folders. The default is false.
    KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

    // The name of the repository where you want to merge two branches.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`

    // The branch where the merge will be applied.
    TargetBranch *string `locationName:"targetBranch" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (MergeBranchesBySquashInput) GoString

func (s MergeBranchesBySquashInput) GoString() string

GoString returns the string representation

func (*MergeBranchesBySquashInput) SetAuthorName

func (s *MergeBranchesBySquashInput) SetAuthorName(v string) *MergeBranchesBySquashInput

SetAuthorName sets the AuthorName field's value.

func (*MergeBranchesBySquashInput) SetCommitMessage

func (s *MergeBranchesBySquashInput) SetCommitMessage(v string) *MergeBranchesBySquashInput

SetCommitMessage sets the CommitMessage field's value.

func (*MergeBranchesBySquashInput) SetConflictDetailLevel

func (s *MergeBranchesBySquashInput) SetConflictDetailLevel(v string) *MergeBranchesBySquashInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*MergeBranchesBySquashInput) SetConflictResolution

func (s *MergeBranchesBySquashInput) SetConflictResolution(v *ConflictResolution) *MergeBranchesBySquashInput

SetConflictResolution sets the ConflictResolution field's value.

func (*MergeBranchesBySquashInput) SetConflictResolutionStrategy

func (s *MergeBranchesBySquashInput) SetConflictResolutionStrategy(v string) *MergeBranchesBySquashInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*MergeBranchesBySquashInput) SetDestinationCommitSpecifier

func (s *MergeBranchesBySquashInput) SetDestinationCommitSpecifier(v string) *MergeBranchesBySquashInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*MergeBranchesBySquashInput) SetEmail

func (s *MergeBranchesBySquashInput) SetEmail(v string) *MergeBranchesBySquashInput

SetEmail sets the Email field's value.

func (*MergeBranchesBySquashInput) SetKeepEmptyFolders

func (s *MergeBranchesBySquashInput) SetKeepEmptyFolders(v bool) *MergeBranchesBySquashInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*MergeBranchesBySquashInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*MergeBranchesBySquashInput) SetSourceCommitSpecifier

func (s *MergeBranchesBySquashInput) SetSourceCommitSpecifier(v string) *MergeBranchesBySquashInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (*MergeBranchesBySquashInput) SetTargetBranch

func (s *MergeBranchesBySquashInput) SetTargetBranch(v string) *MergeBranchesBySquashInput

SetTargetBranch sets the TargetBranch field's value.

func (MergeBranchesBySquashInput) String

func (s MergeBranchesBySquashInput) String() string

String returns the string representation

func (*MergeBranchesBySquashInput) Validate

func (s *MergeBranchesBySquashInput) Validate() error

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

type MergeBranchesBySquashOutput

type MergeBranchesBySquashOutput struct {

    // The commit ID of the merge in the destination or target branch.
    CommitId *string `locationName:"commitId" type:"string"`

    // The tree ID of the merge in the destination or target branch.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

func (MergeBranchesBySquashOutput) GoString

func (s MergeBranchesBySquashOutput) GoString() string

GoString returns the string representation

func (*MergeBranchesBySquashOutput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*MergeBranchesBySquashOutput) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (MergeBranchesBySquashOutput) String

func (s MergeBranchesBySquashOutput) String() string

String returns the string representation

type MergeBranchesByThreeWayInput

type MergeBranchesByThreeWayInput struct {

    // The name of the author who created the commit. This information will be used
    // as both the author and committer for the commit.
    AuthorName *string `locationName:"authorName" type:"string"`

    // The commit message to include in the commit information for the merge.
    CommitMessage *string `locationName:"commitMessage" type:"string"`

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // A list of inputs to use when resolving conflicts during a merge if AUTOMERGE
    // is chosen as the conflict resolution strategy.
    ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // DestinationCommitSpecifier is a required field
    DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

    // The email address of the person merging the branches. This information will
    // be used in the commit information for the merge.
    Email *string `locationName:"email" type:"string"`

    // If the commit contains deletions, whether to keep a folder or folder structure
    // if the changes leave the folders empty. If this is specified as true, a .gitkeep
    // file will be created for empty folders. The default is false.
    KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

    // The name of the repository where you want to merge two branches.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The branch, tag, HEAD, or other fully qualified reference used to identify
    // a commit. For example, a branch name or a full commit ID.
    //
    // SourceCommitSpecifier is a required field
    SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`

    // The branch where the merge will be applied.
    TargetBranch *string `locationName:"targetBranch" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (MergeBranchesByThreeWayInput) GoString

func (s MergeBranchesByThreeWayInput) GoString() string

GoString returns the string representation

func (*MergeBranchesByThreeWayInput) SetAuthorName

func (s *MergeBranchesByThreeWayInput) SetAuthorName(v string) *MergeBranchesByThreeWayInput

SetAuthorName sets the AuthorName field's value.

func (*MergeBranchesByThreeWayInput) SetCommitMessage

func (s *MergeBranchesByThreeWayInput) SetCommitMessage(v string) *MergeBranchesByThreeWayInput

SetCommitMessage sets the CommitMessage field's value.

func (*MergeBranchesByThreeWayInput) SetConflictDetailLevel

func (s *MergeBranchesByThreeWayInput) SetConflictDetailLevel(v string) *MergeBranchesByThreeWayInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*MergeBranchesByThreeWayInput) SetConflictResolution

func (s *MergeBranchesByThreeWayInput) SetConflictResolution(v *ConflictResolution) *MergeBranchesByThreeWayInput

SetConflictResolution sets the ConflictResolution field's value.

func (*MergeBranchesByThreeWayInput) SetConflictResolutionStrategy

func (s *MergeBranchesByThreeWayInput) SetConflictResolutionStrategy(v string) *MergeBranchesByThreeWayInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*MergeBranchesByThreeWayInput) SetDestinationCommitSpecifier

func (s *MergeBranchesByThreeWayInput) SetDestinationCommitSpecifier(v string) *MergeBranchesByThreeWayInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*MergeBranchesByThreeWayInput) SetEmail

func (s *MergeBranchesByThreeWayInput) SetEmail(v string) *MergeBranchesByThreeWayInput

SetEmail sets the Email field's value.

func (*MergeBranchesByThreeWayInput) SetKeepEmptyFolders

func (s *MergeBranchesByThreeWayInput) SetKeepEmptyFolders(v bool) *MergeBranchesByThreeWayInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*MergeBranchesByThreeWayInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*MergeBranchesByThreeWayInput) SetSourceCommitSpecifier

func (s *MergeBranchesByThreeWayInput) SetSourceCommitSpecifier(v string) *MergeBranchesByThreeWayInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (*MergeBranchesByThreeWayInput) SetTargetBranch

func (s *MergeBranchesByThreeWayInput) SetTargetBranch(v string) *MergeBranchesByThreeWayInput

SetTargetBranch sets the TargetBranch field's value.

func (MergeBranchesByThreeWayInput) String

func (s MergeBranchesByThreeWayInput) String() string

String returns the string representation

func (*MergeBranchesByThreeWayInput) Validate

func (s *MergeBranchesByThreeWayInput) Validate() error

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

type MergeBranchesByThreeWayOutput

type MergeBranchesByThreeWayOutput struct {

    // The commit ID of the merge in the destination or target branch.
    CommitId *string `locationName:"commitId" type:"string"`

    // The tree ID of the merge in the destination or target branch.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

func (MergeBranchesByThreeWayOutput) GoString

func (s MergeBranchesByThreeWayOutput) GoString() string

GoString returns the string representation

func (*MergeBranchesByThreeWayOutput) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*MergeBranchesByThreeWayOutput) SetTreeId

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

SetTreeId sets the TreeId field's value.

func (MergeBranchesByThreeWayOutput) String

func (s MergeBranchesByThreeWayOutput) String() string

String returns the string representation

type MergeHunk

type MergeHunk struct {

    // Information about the merge hunk in the base of a merge or pull request.
    Base *MergeHunkDetail `locationName:"base" type:"structure"`

    // Information about the merge hunk in the destination of a merge or pull request.
    Destination *MergeHunkDetail `locationName:"destination" type:"structure"`

    // A Boolean value indicating whether a combination of hunks contains a conflict.
    // Conflicts occur when the same file or the same lines in a file were modified
    // in both the source and destination of a merge or pull request. Valid values
    // include true, false, and null.
    IsConflict *bool `locationName:"isConflict" type:"boolean"`

    // Information about the merge hunk in the source of a merge or pull request.
    Source *MergeHunkDetail `locationName:"source" type:"structure"`
    // contains filtered or unexported fields
}

Information about merge hunks in a merge or pull request operation.

func (MergeHunk) GoString

func (s MergeHunk) GoString() string

GoString returns the string representation

func (*MergeHunk) SetBase

func (s *MergeHunk) SetBase(v *MergeHunkDetail) *MergeHunk

SetBase sets the Base field's value.

func (*MergeHunk) SetDestination

func (s *MergeHunk) SetDestination(v *MergeHunkDetail) *MergeHunk

SetDestination sets the Destination field's value.

func (*MergeHunk) SetIsConflict

func (s *MergeHunk) SetIsConflict(v bool) *MergeHunk

SetIsConflict sets the IsConflict field's value.

func (*MergeHunk) SetSource

func (s *MergeHunk) SetSource(v *MergeHunkDetail) *MergeHunk

SetSource sets the Source field's value.

func (MergeHunk) String

func (s MergeHunk) String() string

String returns the string representation

type MergeHunkDetail

type MergeHunkDetail struct {

    // The line number where a merge conflict ends.
    EndLine *int64 `locationName:"endLine" type:"integer"`

    // The base-64 encoded content of the hunk that contains the conflict.
    HunkContent *string `locationName:"hunkContent" type:"string"`

    // The line number where a merge conflict begins.
    StartLine *int64 `locationName:"startLine" type:"integer"`
    // contains filtered or unexported fields
}

Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.

func (MergeHunkDetail) GoString

func (s MergeHunkDetail) GoString() string

GoString returns the string representation

func (*MergeHunkDetail) SetEndLine

func (s *MergeHunkDetail) SetEndLine(v int64) *MergeHunkDetail

SetEndLine sets the EndLine field's value.

func (*MergeHunkDetail) SetHunkContent

func (s *MergeHunkDetail) SetHunkContent(v string) *MergeHunkDetail

SetHunkContent sets the HunkContent field's value.

func (*MergeHunkDetail) SetStartLine

func (s *MergeHunkDetail) SetStartLine(v int64) *MergeHunkDetail

SetStartLine sets the StartLine field's value.

func (MergeHunkDetail) String

func (s MergeHunkDetail) String() string

String returns the string representation

type MergeMetadata

type MergeMetadata struct {

    // A Boolean value indicating whether the merge has been made.
    IsMerged *bool `locationName:"isMerged" type:"boolean"`

    // The commit ID for the merge commit, if any.
    MergeCommitId *string `locationName:"mergeCommitId" type:"string"`

    // The merge strategy used in the merge.
    MergeOption *string `locationName:"mergeOption" type:"string" enum:"MergeOptionTypeEnum"`

    // The Amazon Resource Name (ARN) of the user who merged the branches.
    MergedBy *string `locationName:"mergedBy" type:"string"`
    // contains filtered or unexported fields
}

Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.

func (MergeMetadata) GoString

func (s MergeMetadata) GoString() string

GoString returns the string representation

func (*MergeMetadata) SetIsMerged

func (s *MergeMetadata) SetIsMerged(v bool) *MergeMetadata

SetIsMerged sets the IsMerged field's value.

func (*MergeMetadata) SetMergeCommitId

func (s *MergeMetadata) SetMergeCommitId(v string) *MergeMetadata

SetMergeCommitId sets the MergeCommitId field's value.

func (*MergeMetadata) SetMergeOption

func (s *MergeMetadata) SetMergeOption(v string) *MergeMetadata

SetMergeOption sets the MergeOption field's value.

func (*MergeMetadata) SetMergedBy

func (s *MergeMetadata) SetMergedBy(v string) *MergeMetadata

SetMergedBy sets the MergedBy field's value.

func (MergeMetadata) String

func (s MergeMetadata) String() string

String returns the string representation

type MergeOperations

type MergeOperations struct {

    // The operation on a file in the destination of a merge or pull request.
    Destination *string `locationName:"destination" type:"string" enum:"ChangeTypeEnum"`

    // The operation on a file (add, modify, or delete) of a file in the source
    // of a merge or pull request.
    Source *string `locationName:"source" type:"string" enum:"ChangeTypeEnum"`
    // contains filtered or unexported fields
}

Information about the file operation conflicts in a merge operation.

func (MergeOperations) GoString

func (s MergeOperations) GoString() string

GoString returns the string representation

func (*MergeOperations) SetDestination

func (s *MergeOperations) SetDestination(v string) *MergeOperations

SetDestination sets the Destination field's value.

func (*MergeOperations) SetSource

func (s *MergeOperations) SetSource(v string) *MergeOperations

SetSource sets the Source field's value.

func (MergeOperations) String

func (s MergeOperations) String() string

String returns the string representation

type MergePullRequestByFastForwardInput

type MergePullRequestByFastForwardInput struct {

    // The system-generated ID of the pull request. To get this ID, use ListPullRequests.
    //
    // PullRequestId is a required field
    PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

    // The name of the repository where the pull request was created.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The full commit ID of the original or updated commit in the pull request
    // source branch. Pass this value if you want an exception thrown if the current
    // commit ID of the tip of the source branch does not match this commit ID.
    SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
    // contains filtered or unexported fields
}

func (MergePullRequestByFastForwardInput) GoString

func (s MergePullRequestByFastForwardInput) GoString() string

GoString returns the string representation

func (*MergePullRequestByFastForwardInput) SetPullRequestId

func (s *MergePullRequestByFastForwardInput) SetPullRequestId(v string) *MergePullRequestByFastForwardInput

SetPullRequestId sets the PullRequestId field's value.

func (*MergePullRequestByFastForwardInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*MergePullRequestByFastForwardInput) SetSourceCommitId

func (s *MergePullRequestByFastForwardInput) SetSourceCommitId(v string) *MergePullRequestByFastForwardInput

SetSourceCommitId sets the SourceCommitId field's value.

func (MergePullRequestByFastForwardInput) String

func (s MergePullRequestByFastForwardInput) String() string

String returns the string representation

func (*MergePullRequestByFastForwardInput) Validate

func (s *MergePullRequestByFastForwardInput) Validate() error

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

type MergePullRequestByFastForwardOutput

type MergePullRequestByFastForwardOutput struct {

    // Information about the specified pull request, including information about
    // the merge.
    PullRequest *PullRequest `locationName:"pullRequest" type:"structure"`
    // contains filtered or unexported fields
}

func (MergePullRequestByFastForwardOutput) GoString

func (s MergePullRequestByFastForwardOutput) GoString() string

GoString returns the string representation

func (*MergePullRequestByFastForwardOutput) SetPullRequest

func (s *MergePullRequestByFastForwardOutput) SetPullRequest(v *PullRequest) *MergePullRequestByFastForwardOutput

SetPullRequest sets the PullRequest field's value.

func (MergePullRequestByFastForwardOutput) String

func (s MergePullRequestByFastForwardOutput) String() string

String returns the string representation

type MergePullRequestBySquashInput

type MergePullRequestBySquashInput struct {

    // The name of the author who created the commit. This information will be used
    // as both the author and committer for the commit.
    AuthorName *string `locationName:"authorName" type:"string"`

    // The commit message to include in the commit information for the merge.
    CommitMessage *string `locationName:"commitMessage" type:"string"`

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // A list of inputs to use when resolving conflicts during a merge if AUTOMERGE
    // is chosen as the conflict resolution strategy.
    ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The email address of the person merging the branches. This information will
    // be used in the commit information for the merge.
    Email *string `locationName:"email" type:"string"`

    // If the commit contains deletions, whether to keep a folder or folder structure
    // if the changes leave the folders empty. If this is specified as true, a .gitkeep
    // file will be created for empty folders. The default is false.
    KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

    // The system-generated ID of the pull request. To get this ID, use ListPullRequests.
    //
    // PullRequestId is a required field
    PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

    // The name of the repository where the pull request was created.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The full commit ID of the original or updated commit in the pull request
    // source branch. Pass this value if you want an exception thrown if the current
    // commit ID of the tip of the source branch does not match this commit ID.
    SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
    // contains filtered or unexported fields
}

func (MergePullRequestBySquashInput) GoString

func (s MergePullRequestBySquashInput) GoString() string

GoString returns the string representation

func (*MergePullRequestBySquashInput) SetAuthorName

func (s *MergePullRequestBySquashInput) SetAuthorName(v string) *MergePullRequestBySquashInput

SetAuthorName sets the AuthorName field's value.

func (*MergePullRequestBySquashInput) SetCommitMessage

func (s *MergePullRequestBySquashInput) SetCommitMessage(v string) *MergePullRequestBySquashInput

SetCommitMessage sets the CommitMessage field's value.

func (*MergePullRequestBySquashInput) SetConflictDetailLevel

func (s *MergePullRequestBySquashInput) SetConflictDetailLevel(v string) *MergePullRequestBySquashInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*MergePullRequestBySquashInput) SetConflictResolution

func (s *MergePullRequestBySquashInput) SetConflictResolution(v *ConflictResolution) *MergePullRequestBySquashInput

SetConflictResolution sets the ConflictResolution field's value.

func (*MergePullRequestBySquashInput) SetConflictResolutionStrategy

func (s *MergePullRequestBySquashInput) SetConflictResolutionStrategy(v string) *MergePullRequestBySquashInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*MergePullRequestBySquashInput) SetEmail

func (s *MergePullRequestBySquashInput) SetEmail(v string) *MergePullRequestBySquashInput

SetEmail sets the Email field's value.

func (*MergePullRequestBySquashInput) SetKeepEmptyFolders

func (s *MergePullRequestBySquashInput) SetKeepEmptyFolders(v bool) *MergePullRequestBySquashInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*MergePullRequestBySquashInput) SetPullRequestId

func (s *MergePullRequestBySquashInput) SetPullRequestId(v string) *MergePullRequestBySquashInput

SetPullRequestId sets the PullRequestId field's value.

func (*MergePullRequestBySquashInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*MergePullRequestBySquashInput) SetSourceCommitId

func (s *MergePullRequestBySquashInput) SetSourceCommitId(v string) *MergePullRequestBySquashInput

SetSourceCommitId sets the SourceCommitId field's value.

func (MergePullRequestBySquashInput) String

func (s MergePullRequestBySquashInput) String() string

String returns the string representation

func (*MergePullRequestBySquashInput) Validate

func (s *MergePullRequestBySquashInput) Validate() error

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

type MergePullRequestBySquashOutput

type MergePullRequestBySquashOutput struct {

    // Returns information about a pull request.
    PullRequest *PullRequest `locationName:"pullRequest" type:"structure"`
    // contains filtered or unexported fields
}

func (MergePullRequestBySquashOutput) GoString

func (s MergePullRequestBySquashOutput) GoString() string

GoString returns the string representation

func (*MergePullRequestBySquashOutput) SetPullRequest

func (s *MergePullRequestBySquashOutput) SetPullRequest(v *PullRequest) *MergePullRequestBySquashOutput

SetPullRequest sets the PullRequest field's value.

func (MergePullRequestBySquashOutput) String

func (s MergePullRequestBySquashOutput) String() string

String returns the string representation

type MergePullRequestByThreeWayInput

type MergePullRequestByThreeWayInput struct {

    // The name of the author who created the commit. This information will be used
    // as both the author and committer for the commit.
    AuthorName *string `locationName:"authorName" type:"string"`

    // The commit message to include in the commit information for the merge.
    CommitMessage *string `locationName:"commitMessage" type:"string"`

    // The level of conflict detail to use. If unspecified, the default FILE_LEVEL
    // is used, which will return a not mergeable result if the same file has differences
    // in both branches. If LINE_LEVEL is specified, a conflict will be considered
    // not mergeable if the same file in both branches has differences on the same
    // line.
    ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

    // A list of inputs to use when resolving conflicts during a merge if AUTOMERGE
    // is chosen as the conflict resolution strategy.
    ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

    // Specifies which branch to use when resolving conflicts, or whether to attempt
    // automatically merging two versions of a file. The default is NONE, which
    // requires any conflicts to be resolved manually before the merge operation
    // will be successful.
    ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

    // The email address of the person merging the branches. This information will
    // be used in the commit information for the merge.
    Email *string `locationName:"email" type:"string"`

    // If the commit contains deletions, whether to keep a folder or folder structure
    // if the changes leave the folders empty. If this is specified as true, a .gitkeep
    // file will be created for empty folders. The default is false.
    KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

    // The system-generated ID of the pull request. To get this ID, use ListPullRequests.
    //
    // PullRequestId is a required field
    PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

    // The name of the repository where the pull request was created.
    //
    // RepositoryName is a required field
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

    // The full commit ID of the original or updated commit in the pull request
    // source branch. Pass this value if you want an exception thrown if the current
    // commit ID of the tip of the source branch does not match this commit ID.
    SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
    // contains filtered or unexported fields
}

func (MergePullRequestByThreeWayInput) GoString

func (s MergePullRequestByThreeWayInput) GoString() string

GoString returns the string representation

func (*MergePullRequestByThreeWayInput) SetAuthorName

func (s *MergePullRequestByThreeWayInput) SetAuthorName(v string) *MergePullRequestByThreeWayInput

SetAuthorName sets the AuthorName field's value.

func (*MergePullRequestByThreeWayInput) SetCommitMessage

func (s *MergePullRequestByThreeWayInput) SetCommitMessage(v string) *MergePullRequestByThreeWayInput

SetCommitMessage sets the CommitMessage field's value.

func (*MergePullRequestByThreeWayInput) SetConflictDetailLevel

func (s *MergePullRequestByThreeWayInput) SetConflictDetailLevel(v string) *MergePullRequestByThreeWayInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*MergePullRequestByThreeWayInput) SetConflictResolution

func (s *MergePullRequestByThreeWayInput) SetConflictResolution(v *ConflictResolution) *MergePullRequestByThreeWayInput

SetConflictResolution sets the ConflictResolution field's value.

func (*MergePullRequestByThreeWayInput) SetConflictResolutionStrategy

func (s *MergePullRequestByThreeWayInput) SetConflictResolutionStrategy(v string) *MergePullRequestByThreeWayInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*MergePullRequestByThreeWayInput) SetEmail

func (s *MergePullRequestByThreeWayInput) SetEmail(v string) *MergePullRequestByThreeWayInput

SetEmail sets the Email field's value.

func (*MergePullRequestByThreeWayInput) SetKeepEmptyFolders

func (s *MergePullRequestByThreeWayInput) SetKeepEmptyFolders(v bool) *MergePullRequestByThreeWayInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*MergePullRequestByThreeWayInput) SetPullRequestId

func (s *MergePullRequestByThreeWayInput) SetPullRequestId(v string) *MergePullRequestByThreeWayInput

SetPullRequestId sets the PullRequestId field's value.

func (*MergePullRequestByThreeWayInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*MergePullRequestByThreeWayInput) SetSourceCommitId

func (s *MergePullRequestByThreeWayInput) SetSourceCommitId(v string) *MergePullRequestByThreeWayInput

SetSourceCommitId sets the SourceCommitId field's value.

func (MergePullRequestByThreeWayInput) String

func (s MergePullRequestByThreeWayInput) String() string

String returns the string representation

func (*MergePullRequestByThreeWayInput) Validate

func (s *MergePullRequestByThreeWayInput) Validate() error

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

type MergePullRequestByThreeWayOutput

type MergePullRequestByThreeWayOutput struct {

    // Returns information about a pull request.
    PullRequest *PullRequest `locationName:"pullRequest" type:"structure"`
    // contains filtered or unexported fields
}

func (MergePullRequestByThreeWayOutput) GoString

func (s MergePullRequestByThreeWayOutput) GoString() string

GoString returns the string representation

func (*MergePullRequestByThreeWayOutput) SetPullRequest

func (s *MergePullRequestByThreeWayOutput) SetPullRequest(v *PullRequest) *MergePullRequestByThreeWayOutput

SetPullRequest sets the PullRequest field's value.