AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ErrCodeActorDoesNotExistException - ErrCodeTitleRequiredException

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

const ( ErrCodeActorDoesNotExistException = "ActorDoesNotExistException" ErrCodeAuthorDoesNotExistException = "AuthorDoesNotExistException" ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException = "BeforeCommitIdAndAfterCommitIdAreSameException" ErrCodeBlobIdDoesNotExistException = "BlobIdDoesNotExistException" ErrCodeBlobIdRequiredException = "BlobIdRequiredException" ErrCodeBranchDoesNotExistException = "BranchDoesNotExistException" ErrCodeBranchNameExistsException = "BranchNameExistsException" ErrCodeBranchNameIsTagNameException = "BranchNameIsTagNameException" ErrCodeBranchNameRequiredException = "BranchNameRequiredException" ErrCodeClientRequestTokenRequiredException = "ClientRequestTokenRequiredException" ErrCodeCommentContentRequiredException = "CommentContentRequiredException" ErrCodeCommentContentSizeLimitExceededException = "CommentContentSizeLimitExceededException" ErrCodeCommentDeletedException = "CommentDeletedException" ErrCodeCommentDoesNotExistException = "CommentDoesNotExistException" ErrCodeCommentIdRequiredException = "CommentIdRequiredException" ErrCodeCommentNotCreatedByCallerException = "CommentNotCreatedByCallerException" ErrCodeCommitDoesNotExistException = "CommitDoesNotExistException" ErrCodeCommitIdDoesNotExistException = "CommitIdDoesNotExistException" ErrCodeCommitIdRequiredException = "CommitIdRequiredException" ErrCodeCommitMessageLengthExceededException = "CommitMessageLengthExceededException" ErrCodeCommitRequiredException = "CommitRequiredException" ErrCodeDefaultBranchCannotBeDeletedException = "DefaultBranchCannotBeDeletedException" ErrCodeDirectoryNameConflictsWithFileNameException = "DirectoryNameConflictsWithFileNameException" ErrCodeEncryptionIntegrityChecksFailedException = "EncryptionIntegrityChecksFailedException" ErrCodeEncryptionKeyAccessDeniedException = "EncryptionKeyAccessDeniedException" ErrCodeEncryptionKeyDisabledException = "EncryptionKeyDisabledException" ErrCodeEncryptionKeyNotFoundException = "EncryptionKeyNotFoundException" ErrCodeEncryptionKeyUnavailableException = "EncryptionKeyUnavailableException" ErrCodeFileContentAndSourceFileSpecifiedException = "FileContentAndSourceFileSpecifiedException" ErrCodeFileContentRequiredException = "FileContentRequiredException" ErrCodeFileContentSizeLimitExceededException = "FileContentSizeLimitExceededException" ErrCodeFileDoesNotExistException = "FileDoesNotExistException" ErrCodeFileEntryRequiredException = "FileEntryRequiredException" ErrCodeFileModeRequiredException = "FileModeRequiredException" ErrCodeFileNameConflictsWithDirectoryNameException = "FileNameConflictsWithDirectoryNameException" ErrCodeFilePathConflictsWithSubmodulePathException = "FilePathConflictsWithSubmodulePathException" ErrCodeFileTooLargeException = "FileTooLargeException" ErrCodeFolderContentSizeLimitExceededException = "FolderContentSizeLimitExceededException" ErrCodeFolderDoesNotExistException = "FolderDoesNotExistException" ErrCodeIdempotencyParameterMismatchException = "IdempotencyParameterMismatchException" ErrCodeInvalidActorArnException = "InvalidActorArnException" ErrCodeInvalidAuthorArnException = "InvalidAuthorArnException" ErrCodeInvalidBlobIdException = "InvalidBlobIdException" ErrCodeInvalidBranchNameException = "InvalidBranchNameException" ErrCodeInvalidClientRequestTokenException = "InvalidClientRequestTokenException" ErrCodeInvalidCommentIdException = "InvalidCommentIdException" ErrCodeInvalidCommitException = "InvalidCommitException" ErrCodeInvalidCommitIdException = "InvalidCommitIdException" ErrCodeInvalidContinuationTokenException = "InvalidContinuationTokenException" ErrCodeInvalidDeletionParameterException = "InvalidDeletionParameterException" ErrCodeInvalidDescriptionException = "InvalidDescriptionException" ErrCodeInvalidDestinationCommitSpecifierException = "InvalidDestinationCommitSpecifierException" ErrCodeInvalidEmailException = "InvalidEmailException" ErrCodeInvalidFileLocationException = "InvalidFileLocationException" ErrCodeInvalidFileModeException = "InvalidFileModeException" ErrCodeInvalidFilePositionException = "InvalidFilePositionException" ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException" ErrCodeInvalidMergeOptionException = "InvalidMergeOptionException" ErrCodeInvalidOrderException = "InvalidOrderException" ErrCodeInvalidParentCommitIdException = "InvalidParentCommitIdException" ErrCodeInvalidPathException = "InvalidPathException" ErrCodeInvalidPullRequestEventTypeException = "InvalidPullRequestEventTypeException" ErrCodeInvalidPullRequestIdException = "InvalidPullRequestIdException" ErrCodeInvalidPullRequestStatusException = "InvalidPullRequestStatusException" ErrCodeInvalidPullRequestStatusUpdateException = "InvalidPullRequestStatusUpdateException" ErrCodeInvalidReferenceNameException = "InvalidReferenceNameException" ErrCodeInvalidRelativeFileVersionEnumException = "InvalidRelativeFileVersionEnumException" ErrCodeInvalidRepositoryDescriptionException = "InvalidRepositoryDescriptionException" ErrCodeInvalidRepositoryNameException = "InvalidRepositoryNameException" ErrCodeInvalidRepositoryTriggerBranchNameException = "InvalidRepositoryTriggerBranchNameException" ErrCodeInvalidRepositoryTriggerCustomDataException = "InvalidRepositoryTriggerCustomDataException" ErrCodeInvalidRepositoryTriggerDestinationArnException = "InvalidRepositoryTriggerDestinationArnException" ErrCodeInvalidRepositoryTriggerEventsException = "InvalidRepositoryTriggerEventsException" ErrCodeInvalidRepositoryTriggerNameException = "InvalidRepositoryTriggerNameException" ErrCodeInvalidRepositoryTriggerRegionException = "InvalidRepositoryTriggerRegionException" ErrCodeInvalidSortByException = "InvalidSortByException" ErrCodeInvalidSourceCommitSpecifierException = "InvalidSourceCommitSpecifierException" ErrCodeInvalidTargetException = "InvalidTargetException" ErrCodeInvalidTargetsException = "InvalidTargetsException" ErrCodeInvalidTitleException = "InvalidTitleException" ErrCodeManualMergeRequiredException = "ManualMergeRequiredException" ErrCodeMaximumBranchesExceededException = "MaximumBranchesExceededException" ErrCodeMaximumFileEntriesExceededException = "MaximumFileEntriesExceededException" ErrCodeMaximumOpenPullRequestsExceededException = "MaximumOpenPullRequestsExceededException" ErrCodeMaximumRepositoryNamesExceededException = "MaximumRepositoryNamesExceededException" ErrCodeMaximumRepositoryTriggersExceededException = "MaximumRepositoryTriggersExceededException" ErrCodeMergeOptionRequiredException = "MergeOptionRequiredException" ErrCodeMultipleRepositoriesInPullRequestException = "MultipleRepositoriesInPullRequestException" ErrCodeNameLengthExceededException = "NameLengthExceededException" ErrCodeNoChangeException = "NoChangeException" ErrCodeParentCommitDoesNotExistException = "ParentCommitDoesNotExistException" ErrCodeParentCommitIdOutdatedException = "ParentCommitIdOutdatedException" ErrCodeParentCommitIdRequiredException = "ParentCommitIdRequiredException" ErrCodePathDoesNotExistException = "PathDoesNotExistException" ErrCodePathRequiredException = "PathRequiredException" ErrCodePullRequestAlreadyClosedException = "PullRequestAlreadyClosedException" ErrCodePullRequestDoesNotExistException = "PullRequestDoesNotExistException" ErrCodePullRequestIdRequiredException = "PullRequestIdRequiredException" ErrCodePullRequestStatusRequiredException = "PullRequestStatusRequiredException" ErrCodePutFileEntryConflictException = "PutFileEntryConflictException" ErrCodeReferenceDoesNotExistException = "ReferenceDoesNotExistException" ErrCodeReferenceNameRequiredException = "ReferenceNameRequiredException" ErrCodeReferenceTypeNotSupportedException = "ReferenceTypeNotSupportedException" ErrCodeRepositoryDoesNotExistException = "RepositoryDoesNotExistException" ErrCodeRepositoryLimitExceededException = "RepositoryLimitExceededException" ErrCodeRepositoryNameExistsException = "RepositoryNameExistsException" ErrCodeRepositoryNameRequiredException = "RepositoryNameRequiredException" ErrCodeRepositoryNamesRequiredException = "RepositoryNamesRequiredException" ErrCodeRepositoryNotAssociatedWithPullRequestException = "RepositoryNotAssociatedWithPullRequestException" ErrCodeRepositoryTriggerBranchNameListRequiredException = "RepositoryTriggerBranchNameListRequiredException" ErrCodeRepositoryTriggerDestinationArnRequiredException = "RepositoryTriggerDestinationArnRequiredException" ErrCodeRepositoryTriggerEventsListRequiredException = "RepositoryTriggerEventsListRequiredException" ErrCodeRepositoryTriggerNameRequiredException = "RepositoryTriggerNameRequiredException" ErrCodeRepositoryTriggersListRequiredException = "RepositoryTriggersListRequiredException" ErrCodeRestrictedSourceFileException = "RestrictedSourceFileException" ErrCodeSameFileContentException = "SameFileContentException" ErrCodeSamePathRequestException = "SamePathRequestException" ErrCodeSourceAndDestinationAreSameException = "SourceAndDestinationAreSameException" ErrCodeSourceFileOrContentRequiredException = "SourceFileOrContentRequiredException" ErrCodeTargetRequiredException = "TargetRequiredException" ErrCodeTargetsRequiredException = "TargetsRequiredException" ErrCodeTipOfSourceReferenceIsDifferentException = "TipOfSourceReferenceIsDifferentException" ErrCodeTipsDivergenceExceededException = "TipsDivergenceExceededException" ErrCodeTitleRequiredException = "TitleRequiredException" )

ErrCodeActorDoesNotExistException

ErrCodeActorDoesNotExistException for service response error code "ActorDoesNotExistException".

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

ErrCodeAuthorDoesNotExistException

ErrCodeAuthorDoesNotExistException for service response error code "AuthorDoesNotExistException".

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

ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException

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.

ErrCodeBlobIdDoesNotExistException

ErrCodeBlobIdDoesNotExistException for service response error code "BlobIdDoesNotExistException".

The specified blob does not exist.

ErrCodeBlobIdRequiredException

ErrCodeBlobIdRequiredException for service response error code "BlobIdRequiredException".

A blob ID is required but was not specified.

ErrCodeBranchDoesNotExistException

ErrCodeBranchDoesNotExistException for service response error code "BranchDoesNotExistException".

The specified branch does not exist.

ErrCodeBranchNameExistsException

ErrCodeBranchNameExistsException for service response error code "BranchNameExistsException".

The specified branch name already exists.

ErrCodeBranchNameIsTagNameException

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.

ErrCodeBranchNameRequiredException

ErrCodeBranchNameRequiredException for service response error code "BranchNameRequiredException".

A branch name is required but was not specified.

ErrCodeClientRequestTokenRequiredException

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.

ErrCodeCommentContentRequiredException

ErrCodeCommentContentRequiredException for service response error code "CommentContentRequiredException".

The comment is empty. You must provide some content for a comment. The content cannot be null.

ErrCodeCommentContentSizeLimitExceededException

ErrCodeCommentContentSizeLimitExceededException for service response error code "CommentContentSizeLimitExceededException".

The comment is too large. Comments are limited to 1,000 characters.

ErrCodeCommentDeletedException

ErrCodeCommentDeletedException for service response error code "CommentDeletedException".

This comment has already been deleted. You cannot edit or delete a deleted comment.

ErrCodeCommentDoesNotExistException

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.

ErrCodeCommentIdRequiredException

ErrCodeCommentIdRequiredException for service response error code "CommentIdRequiredException".

The comment ID is missing or null. A comment ID is required.

ErrCodeCommentNotCreatedByCallerException

ErrCodeCommentNotCreatedByCallerException for service response error code "CommentNotCreatedByCallerException".

You cannot modify or delete this comment. Only comment authors can modify or delete their comments.

ErrCodeCommitDoesNotExistException

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.

ErrCodeCommitIdDoesNotExistException

ErrCodeCommitIdDoesNotExistException for service response error code "CommitIdDoesNotExistException".

The specified commit ID does not exist.

ErrCodeCommitIdRequiredException

ErrCodeCommitIdRequiredException for service response error code "CommitIdRequiredException".

A commit ID was not specified.

ErrCodeCommitMessageLengthExceededException

ErrCodeCommitMessageLengthExceededException for service response error code "CommitMessageLengthExceededException".

The commit message is too long. Provide a shorter string.

ErrCodeCommitRequiredException

ErrCodeCommitRequiredException for service response error code "CommitRequiredException".

A commit was not specified.

ErrCodeDefaultBranchCannotBeDeletedException

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.

ErrCodeDirectoryNameConflictsWithFileNameException

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.

ErrCodeEncryptionIntegrityChecksFailedException

ErrCodeEncryptionIntegrityChecksFailedException for service response error code "EncryptionIntegrityChecksFailedException".

An encryption integrity check failed.

ErrCodeEncryptionKeyAccessDeniedException

ErrCodeEncryptionKeyAccessDeniedException for service response error code "EncryptionKeyAccessDeniedException".

An encryption key could not be accessed.

ErrCodeEncryptionKeyDisabledException

ErrCodeEncryptionKeyDisabledException for service response error code "EncryptionKeyDisabledException".

The encryption key is disabled.

ErrCodeEncryptionKeyNotFoundException

ErrCodeEncryptionKeyNotFoundException for service response error code "EncryptionKeyNotFoundException".

No encryption key was found.

ErrCodeEncryptionKeyUnavailableException

ErrCodeEncryptionKeyUnavailableException for service response error code "EncryptionKeyUnavailableException".

The encryption key is not available.

ErrCodeFileContentAndSourceFileSpecifiedException

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.

ErrCodeFileContentRequiredException

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.

ErrCodeFileContentSizeLimitExceededException

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 using PutFile is 6 MB, and the combined file content change size is 7 MB. Consider making these changes using a Git client.

ErrCodeFileDoesNotExistException

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.

ErrCodeFileEntryRequiredException

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.

ErrCodeFileModeRequiredException

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.

ErrCodeFileNameConflictsWithDirectoryNameException

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.

ErrCodeFilePathConflictsWithSubmodulePathException

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.

ErrCodeFileTooLargeException

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).

ErrCodeFolderContentSizeLimitExceededException

ErrCodeFolderContentSizeLimitExceededException for service response error code "FolderContentSizeLimitExceededException".

The commit cannot be created because at least one of the overall changes in the commit result in a folder contents exceeding the limit of 6 MB. Either reduce the number and size of your changes, or split the changes across multiple folders.

ErrCodeFolderDoesNotExistException

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.

ErrCodeIdempotencyParameterMismatchException

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.

ErrCodeInvalidActorArnException

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.

ErrCodeInvalidAuthorArnException

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.

ErrCodeInvalidBlobIdException

ErrCodeInvalidBlobIdException for service response error code "InvalidBlobIdException".

The specified blob is not valid.

ErrCodeInvalidBranchNameException

ErrCodeInvalidBranchNameException for service response error code "InvalidBranchNameException".

The specified reference name is not valid.

ErrCodeInvalidClientRequestTokenException

ErrCodeInvalidClientRequestTokenException for service response error code "InvalidClientRequestTokenException".

The client request token is not valid.

ErrCodeInvalidCommentIdException

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.

ErrCodeInvalidCommitException

ErrCodeInvalidCommitException for service response error code "InvalidCommitException".

The specified commit is not valid.

ErrCodeInvalidCommitIdException

ErrCodeInvalidCommitIdException for service response error code "InvalidCommitIdException".

The specified commit ID is not valid.

ErrCodeInvalidContinuationTokenException

ErrCodeInvalidContinuationTokenException for service response error code "InvalidContinuationTokenException".

The specified continuation token is not valid.

ErrCodeInvalidDeletionParameterException

ErrCodeInvalidDeletionParameterException for service response error code "InvalidDeletionParameterException".

The specified deletion parameter is not valid.

ErrCodeInvalidDescriptionException

ErrCodeInvalidDescriptionException for service response error code "InvalidDescriptionException".

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

ErrCodeInvalidDestinationCommitSpecifierException

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.

ErrCodeInvalidEmailException

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.

ErrCodeInvalidFileLocationException

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.

ErrCodeInvalidFileModeException

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.

ErrCodeInvalidFilePositionException

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.

ErrCodeInvalidMaxResultsException

ErrCodeInvalidMaxResultsException for service response error code "InvalidMaxResultsException".

The specified number of maximum results is not valid.

ErrCodeInvalidMergeOptionException

ErrCodeInvalidMergeOptionException for service response error code "InvalidMergeOptionException".

The specified merge option is not valid. The only valid value is FAST_FORWARD_MERGE.

ErrCodeInvalidOrderException

ErrCodeInvalidOrderException for service response error code "InvalidOrderException".

The specified sort order is not valid.

ErrCodeInvalidParentCommitIdException

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.

ErrCodeInvalidPathException

ErrCodeInvalidPathException for service response error code "InvalidPathException".

The specified path is not valid.

ErrCodeInvalidPullRequestEventTypeException

ErrCodeInvalidPullRequestEventTypeException for service response error code "InvalidPullRequestEventTypeException".

The pull request event type is not valid.

ErrCodeInvalidPullRequestIdException

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.

ErrCodeInvalidPullRequestStatusException

ErrCodeInvalidPullRequestStatusException for service response error code "InvalidPullRequestStatusException".

The pull request status is not valid. The only valid values are OPEN and CLOSED.

ErrCodeInvalidPullRequestStatusUpdateException

ErrCodeInvalidPullRequestStatusUpdateException for service response error code "InvalidPullRequestStatusUpdateException".

The pull request status update is not valid. The only valid update is from OPEN to CLOSED.

ErrCodeInvalidReferenceNameException

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.

ErrCodeInvalidRelativeFileVersionEnumException

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.

ErrCodeInvalidRepositoryDescriptionException

ErrCodeInvalidRepositoryDescriptionException for service response error code "InvalidRepositoryDescriptionException".

The specified repository description is not valid.

ErrCodeInvalidRepositoryNameException

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.

ErrCodeInvalidRepositoryTriggerBranchNameException

ErrCodeInvalidRepositoryTriggerBranchNameException for service response error code "InvalidRepositoryTriggerBranchNameException".

One or more branch names specified for the trigger is not valid.

ErrCodeInvalidRepositoryTriggerCustomDataException

ErrCodeInvalidRepositoryTriggerCustomDataException for service response error code "InvalidRepositoryTriggerCustomDataException".

The custom data provided for the trigger is not valid.

ErrCodeInvalidRepositoryTriggerDestinationArnException

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.

ErrCodeInvalidRepositoryTriggerEventsException

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.

ErrCodeInvalidRepositoryTriggerNameException

ErrCodeInvalidRepositoryTriggerNameException for service response error code "InvalidRepositoryTriggerNameException".

The name of the trigger is not valid.

ErrCodeInvalidRepositoryTriggerRegionException

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.

ErrCodeInvalidSortByException

ErrCodeInvalidSortByException for service response error code "InvalidSortByException".

The specified sort by value is not valid.

ErrCodeInvalidSourceCommitSpecifierException

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.

ErrCodeInvalidTargetException

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.

ErrCodeInvalidTargetsException

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.

ErrCodeInvalidTitleException

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.

ErrCodeManualMergeRequiredException

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.

ErrCodeMaximumBranchesExceededException

ErrCodeMaximumBranchesExceededException for service response error code "MaximumBranchesExceededException".

The number of branches for the trigger was exceeded.

ErrCodeMaximumFileEntriesExceededException

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.

ErrCodeMaximumOpenPullRequestsExceededException

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.

ErrCodeMaximumRepositoryNamesExceededException

ErrCodeMaximumRepositoryNamesExceededException for service response error code "MaximumRepositoryNamesExceededException".

The maximum number of allowed repository names was exceeded. Currently, this number is 25.

ErrCodeMaximumRepositoryTriggersExceededException

ErrCodeMaximumRepositoryTriggersExceededException for service response error code "MaximumRepositoryTriggersExceededException".

The number of triggers allowed for the repository was exceeded.

ErrCodeMergeOptionRequiredException

ErrCodeMergeOptionRequiredException for service response error code "MergeOptionRequiredException".

A merge option or stategy is required, and none was provided.

ErrCodeMultipleRepositoriesInPullRequestException

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.

ErrCodeNameLengthExceededException

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.

ErrCodeNoChangeException

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.

ErrCodeParentCommitDoesNotExistException

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.

ErrCodeParentCommitIdOutdatedException

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.

ErrCodeParentCommitIdRequiredException

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).

ErrCodePathDoesNotExistException

ErrCodePathDoesNotExistException for service response error code "PathDoesNotExistException".

The specified path does not exist.

ErrCodePathRequiredException

ErrCodePathRequiredException for service response error code "PathRequiredException".

The folderPath for a location cannot be null.

ErrCodePullRequestAlreadyClosedException

ErrCodePullRequestAlreadyClosedException for service response error code "PullRequestAlreadyClosedException".

The pull request status cannot be updated because it is already closed.

ErrCodePullRequestDoesNotExistException

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.

ErrCodePullRequestIdRequiredException

ErrCodePullRequestIdRequiredException for service response error code "PullRequestIdRequiredException".

A pull request ID is required, but none was provided.

ErrCodePullRequestStatusRequiredException

ErrCodePullRequestStatusRequiredException for service response error code "PullRequestStatusRequiredException".

A pull request status is required, but none was provided.

ErrCodePutFileEntryConflictException

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.

ErrCodeReferenceDoesNotExistException

ErrCodeReferenceDoesNotExistException for service response error code "ReferenceDoesNotExistException".

The specified reference does not exist. You must provide a full commit ID.

ErrCodeReferenceNameRequiredException

ErrCodeReferenceNameRequiredException for service response error code "ReferenceNameRequiredException".

A reference name is required, but none was provided.

ErrCodeReferenceTypeNotSupportedException

ErrCodeReferenceTypeNotSupportedException for service response error code "ReferenceTypeNotSupportedException".

The specified reference is not a supported type.

ErrCodeRepositoryDoesNotExistException

ErrCodeRepositoryDoesNotExistException for service response error code "RepositoryDoesNotExistException".

The specified repository does not exist.

ErrCodeRepositoryLimitExceededException

ErrCodeRepositoryLimitExceededException for service response error code "RepositoryLimitExceededException".

A repository resource limit was exceeded.

ErrCodeRepositoryNameExistsException

ErrCodeRepositoryNameExistsException for service response error code "RepositoryNameExistsException".

The specified repository name already exists.

ErrCodeRepositoryNameRequiredException

ErrCodeRepositoryNameRequiredException for service response error code "RepositoryNameRequiredException".

A repository name is required but was not specified.

ErrCodeRepositoryNamesRequiredException

ErrCodeRepositoryNamesRequiredException for service response error code "RepositoryNamesRequiredException".

A repository names object is required but was not specified.

ErrCodeRepositoryNotAssociatedWithPullRequestException

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.

ErrCodeRepositoryTriggerBranchNameListRequiredException

ErrCodeRepositoryTriggerBranchNameListRequiredException for service response error code "RepositoryTriggerBranchNameListRequiredException".

At least one branch name is required but was not specified in the trigger configuration.

ErrCodeRepositoryTriggerDestinationArnRequiredException

ErrCodeRepositoryTriggerDestinationArnRequiredException for service response error code "RepositoryTriggerDestinationArnRequiredException".

A destination ARN for the target service for the trigger is required but was not specified.

ErrCodeRepositoryTriggerEventsListRequiredException

ErrCodeRepositoryTriggerEventsListRequiredException for service response error code "RepositoryTriggerEventsListRequiredException".

At least one event for the trigger is required but was not specified.

ErrCodeRepositoryTriggerNameRequiredException

ErrCodeRepositoryTriggerNameRequiredException for service response error code "RepositoryTriggerNameRequiredException".

A name for the trigger is required but was not specified.

ErrCodeRepositoryTriggersListRequiredException

ErrCodeRepositoryTriggersListRequiredException for service response error code "RepositoryTriggersListRequiredException".

The list of triggers for the repository is required but was not specified.

ErrCodeRestrictedSourceFileException

ErrCodeRestrictedSourceFileException for service response error code "RestrictedSourceFileException".

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

ErrCodeSameFileContentException

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.

ErrCodeSamePathRequestException

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.

ErrCodeSourceAndDestinationAreSameException

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.

ErrCodeSourceFileOrContentRequiredException

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.

ErrCodeTargetRequiredException

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.

ErrCodeTargetsRequiredException

ErrCodeTargetsRequiredException for service response error code "TargetsRequiredException".

An array of target objects is required. It cannot be empty or null.

ErrCodeTipOfSourceReferenceIsDifferentException

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.

ErrCodeTipsDivergenceExceededException

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.

ErrCodeTitleRequiredException

ErrCodeTitleRequiredException for service response error code "TitleRequiredException".

A pull request title is required. It cannot be empty or null.

On this page: