#[non_exhaustive]
pub enum Error {
Show 186 variants ActorDoesNotExistException(ActorDoesNotExistException), ApprovalRuleContentRequiredException(ApprovalRuleContentRequiredException), ApprovalRuleDoesNotExistException(ApprovalRuleDoesNotExistException), ApprovalRuleNameAlreadyExistsException(ApprovalRuleNameAlreadyExistsException), ApprovalRuleNameRequiredException(ApprovalRuleNameRequiredException), ApprovalRuleTemplateContentRequiredException(ApprovalRuleTemplateContentRequiredException), ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException), ApprovalRuleTemplateInUseException(ApprovalRuleTemplateInUseException), ApprovalRuleTemplateNameAlreadyExistsException(ApprovalRuleTemplateNameAlreadyExistsException), ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException), ApprovalStateRequiredException(ApprovalStateRequiredException), AuthorDoesNotExistException(AuthorDoesNotExistException), BeforeCommitIdAndAfterCommitIdAreSameException(BeforeCommitIdAndAfterCommitIdAreSameException), BlobIdDoesNotExistException(BlobIdDoesNotExistException), BlobIdRequiredException(BlobIdRequiredException), BranchDoesNotExistException(BranchDoesNotExistException), BranchNameExistsException(BranchNameExistsException), BranchNameIsTagNameException(BranchNameIsTagNameException), BranchNameRequiredException(BranchNameRequiredException), CannotDeleteApprovalRuleFromTemplateException(CannotDeleteApprovalRuleFromTemplateException), CannotModifyApprovalRuleFromTemplateException(CannotModifyApprovalRuleFromTemplateException), ClientRequestTokenRequiredException(ClientRequestTokenRequiredException), CommentContentRequiredException(CommentContentRequiredException), CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException), CommentDeletedException(CommentDeletedException), CommentDoesNotExistException(CommentDoesNotExistException), CommentIdRequiredException(CommentIdRequiredException), CommentNotCreatedByCallerException(CommentNotCreatedByCallerException), CommitDoesNotExistException(CommitDoesNotExistException), CommitIdDoesNotExistException(CommitIdDoesNotExistException), CommitIdRequiredException(CommitIdRequiredException), CommitIdsLimitExceededException(CommitIdsLimitExceededException), CommitIdsListRequiredException(CommitIdsListRequiredException), CommitMessageLengthExceededException(CommitMessageLengthExceededException), CommitRequiredException(CommitRequiredException), ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException), DefaultBranchCannotBeDeletedException(DefaultBranchCannotBeDeletedException), DirectoryNameConflictsWithFileNameException(DirectoryNameConflictsWithFileNameException), EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException), EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException), EncryptionKeyDisabledException(EncryptionKeyDisabledException), EncryptionKeyNotFoundException(EncryptionKeyNotFoundException), EncryptionKeyUnavailableException(EncryptionKeyUnavailableException), FileContentAndSourceFileSpecifiedException(FileContentAndSourceFileSpecifiedException), FileContentRequiredException(FileContentRequiredException), FileContentSizeLimitExceededException(FileContentSizeLimitExceededException), FileDoesNotExistException(FileDoesNotExistException), FileEntryRequiredException(FileEntryRequiredException), FileModeRequiredException(FileModeRequiredException), FileNameConflictsWithDirectoryNameException(FileNameConflictsWithDirectoryNameException), FilePathConflictsWithSubmodulePathException(FilePathConflictsWithSubmodulePathException), FileTooLargeException(FileTooLargeException), FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException), FolderDoesNotExistException(FolderDoesNotExistException), IdempotencyParameterMismatchException(IdempotencyParameterMismatchException), InvalidActorArnException(InvalidActorArnException), InvalidApprovalRuleContentException(InvalidApprovalRuleContentException), InvalidApprovalRuleNameException(InvalidApprovalRuleNameException), InvalidApprovalRuleTemplateContentException(InvalidApprovalRuleTemplateContentException), InvalidApprovalRuleTemplateDescriptionException(InvalidApprovalRuleTemplateDescriptionException), InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException), InvalidApprovalStateException(InvalidApprovalStateException), InvalidAuthorArnException(InvalidAuthorArnException), InvalidBlobIdException(InvalidBlobIdException), InvalidBranchNameException(InvalidBranchNameException), InvalidClientRequestTokenException(InvalidClientRequestTokenException), InvalidCommentIdException(InvalidCommentIdException), InvalidCommitException(InvalidCommitException), InvalidCommitIdException(InvalidCommitIdException), InvalidConflictDetailLevelException(InvalidConflictDetailLevelException), InvalidConflictResolutionException(InvalidConflictResolutionException), InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException), InvalidContinuationTokenException(InvalidContinuationTokenException), InvalidDeletionParameterException(InvalidDeletionParameterException), InvalidDescriptionException(InvalidDescriptionException), InvalidDestinationCommitSpecifierException(InvalidDestinationCommitSpecifierException), InvalidEmailException(InvalidEmailException), InvalidFileLocationException(InvalidFileLocationException), InvalidFileModeException(InvalidFileModeException), InvalidFilePositionException(InvalidFilePositionException), InvalidMaxConflictFilesException(InvalidMaxConflictFilesException), InvalidMaxMergeHunksException(InvalidMaxMergeHunksException), InvalidMaxResultsException(InvalidMaxResultsException), InvalidMergeOptionException(InvalidMergeOptionException), InvalidOrderException(InvalidOrderException), InvalidOverrideStatusException(InvalidOverrideStatusException), InvalidParentCommitIdException(InvalidParentCommitIdException), InvalidPathException(InvalidPathException), InvalidPullRequestEventTypeException(InvalidPullRequestEventTypeException), InvalidPullRequestIdException(InvalidPullRequestIdException), InvalidPullRequestStatusException(InvalidPullRequestStatusException), InvalidPullRequestStatusUpdateException(InvalidPullRequestStatusUpdateException), InvalidReactionUserArnException(InvalidReactionUserArnException), InvalidReactionValueException(InvalidReactionValueException), InvalidReferenceNameException(InvalidReferenceNameException), InvalidRelativeFileVersionEnumException(InvalidRelativeFileVersionEnumException), InvalidReplacementContentException(InvalidReplacementContentException), InvalidReplacementTypeException(InvalidReplacementTypeException), InvalidRepositoryDescriptionException(InvalidRepositoryDescriptionException), InvalidRepositoryNameException(InvalidRepositoryNameException), InvalidRepositoryTriggerBranchNameException(InvalidRepositoryTriggerBranchNameException), InvalidRepositoryTriggerCustomDataException(InvalidRepositoryTriggerCustomDataException), InvalidRepositoryTriggerDestinationArnException(InvalidRepositoryTriggerDestinationArnException), InvalidRepositoryTriggerEventsException(InvalidRepositoryTriggerEventsException), InvalidRepositoryTriggerNameException(InvalidRepositoryTriggerNameException), InvalidRepositoryTriggerRegionException(InvalidRepositoryTriggerRegionException), InvalidResourceArnException(InvalidResourceArnException), InvalidRevisionIdException(InvalidRevisionIdException), InvalidRuleContentSha256Exception(InvalidRuleContentSha256Exception), InvalidSortByException(InvalidSortByException), InvalidSourceCommitSpecifierException(InvalidSourceCommitSpecifierException), InvalidSystemTagUsageException(InvalidSystemTagUsageException), InvalidTagKeysListException(InvalidTagKeysListException), InvalidTagsMapException(InvalidTagsMapException), InvalidTargetBranchException(InvalidTargetBranchException), InvalidTargetException(InvalidTargetException), InvalidTargetsException(InvalidTargetsException), InvalidTitleException(InvalidTitleException), ManualMergeRequiredException(ManualMergeRequiredException), MaximumBranchesExceededException(MaximumBranchesExceededException), MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException), MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException), MaximumFileEntriesExceededException(MaximumFileEntriesExceededException), MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException), MaximumNumberOfApprovalsExceededException(MaximumNumberOfApprovalsExceededException), MaximumOpenPullRequestsExceededException(MaximumOpenPullRequestsExceededException), MaximumRepositoryNamesExceededException(MaximumRepositoryNamesExceededException), MaximumRepositoryTriggersExceededException(MaximumRepositoryTriggersExceededException), MaximumRuleTemplatesAssociatedWithRepositoryException(MaximumRuleTemplatesAssociatedWithRepositoryException), MergeOptionRequiredException(MergeOptionRequiredException), MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException), MultipleRepositoriesInPullRequestException(MultipleRepositoriesInPullRequestException), NameLengthExceededException(NameLengthExceededException), NoChangeException(NoChangeException), NumberOfRuleTemplatesExceededException(NumberOfRuleTemplatesExceededException), NumberOfRulesExceededException(NumberOfRulesExceededException), OverrideAlreadySetException(OverrideAlreadySetException), OverrideStatusRequiredException(OverrideStatusRequiredException), ParentCommitDoesNotExistException(ParentCommitDoesNotExistException), ParentCommitIdOutdatedException(ParentCommitIdOutdatedException), ParentCommitIdRequiredException(ParentCommitIdRequiredException), PathDoesNotExistException(PathDoesNotExistException), PathRequiredException(PathRequiredException), PullRequestAlreadyClosedException(PullRequestAlreadyClosedException), PullRequestApprovalRulesNotSatisfiedException(PullRequestApprovalRulesNotSatisfiedException), PullRequestCannotBeApprovedByAuthorException(PullRequestCannotBeApprovedByAuthorException), PullRequestDoesNotExistException(PullRequestDoesNotExistException), PullRequestIdRequiredException(PullRequestIdRequiredException), PullRequestStatusRequiredException(PullRequestStatusRequiredException), PutFileEntryConflictException(PutFileEntryConflictException), ReactionLimitExceededException(ReactionLimitExceededException), ReactionValueRequiredException(ReactionValueRequiredException), ReferenceDoesNotExistException(ReferenceDoesNotExistException), ReferenceNameRequiredException(ReferenceNameRequiredException), ReferenceTypeNotSupportedException(ReferenceTypeNotSupportedException), ReplacementContentRequiredException(ReplacementContentRequiredException), ReplacementTypeRequiredException(ReplacementTypeRequiredException), RepositoryDoesNotExistException(RepositoryDoesNotExistException), RepositoryLimitExceededException(RepositoryLimitExceededException), RepositoryNameExistsException(RepositoryNameExistsException), RepositoryNameRequiredException(RepositoryNameRequiredException), RepositoryNamesRequiredException(RepositoryNamesRequiredException), RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException), RepositoryTriggerBranchNameListRequiredException(RepositoryTriggerBranchNameListRequiredException), RepositoryTriggerDestinationArnRequiredException(RepositoryTriggerDestinationArnRequiredException), RepositoryTriggerEventsListRequiredException(RepositoryTriggerEventsListRequiredException), RepositoryTriggerNameRequiredException(RepositoryTriggerNameRequiredException), RepositoryTriggersListRequiredException(RepositoryTriggersListRequiredException), ResourceArnRequiredException(ResourceArnRequiredException), RestrictedSourceFileException(RestrictedSourceFileException), RevisionIdRequiredException(RevisionIdRequiredException), RevisionNotCurrentException(RevisionNotCurrentException), SameFileContentException(SameFileContentException), SamePathRequestException(SamePathRequestException), SourceAndDestinationAreSameException(SourceAndDestinationAreSameException), SourceFileOrContentRequiredException(SourceFileOrContentRequiredException), TagKeysListRequiredException(TagKeysListRequiredException), TagPolicyException(TagPolicyException), TagsMapRequiredException(TagsMapRequiredException), TargetRequiredException(TargetRequiredException), TargetsRequiredException(TargetsRequiredException), TipOfSourceReferenceIsDifferentException(TipOfSourceReferenceIsDifferentException), TipsDivergenceExceededException(TipsDivergenceExceededException), TitleRequiredException(TitleRequiredException), TooManyTagsException(TooManyTagsException), Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

ActorDoesNotExistException(ActorDoesNotExistException)

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

ApprovalRuleContentRequiredException(ApprovalRuleContentRequiredException)

The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.

ApprovalRuleDoesNotExistException(ApprovalRuleDoesNotExistException)

The specified approval rule does not exist.

ApprovalRuleNameAlreadyExistsException(ApprovalRuleNameAlreadyExistsException)

An approval rule with that name already exists. Approval rule names must be unique within the scope of a pull request.

ApprovalRuleNameRequiredException(ApprovalRuleNameRequiredException)

An approval rule name is required, but was not specified.

ApprovalRuleTemplateContentRequiredException(ApprovalRuleTemplateContentRequiredException)

The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null.

ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException)

The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template was created, and then try again.

ApprovalRuleTemplateInUseException(ApprovalRuleTemplateInUseException)

The approval rule template is associated with one or more repositories. You cannot delete a template that is associated with a repository. Remove all associations, and then try again.

ApprovalRuleTemplateNameAlreadyExistsException(ApprovalRuleTemplateNameAlreadyExistsException)

You cannot create an approval rule template with that name because a template with that name already exists in this AWS Region for your AWS account. Approval rule template names must be unique.

ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException)

An approval rule template name is required, but was not specified.

ApprovalStateRequiredException(ApprovalStateRequiredException)

An approval state is required, but was not specified.

AuthorDoesNotExistException(AuthorDoesNotExistException)

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

BeforeCommitIdAndAfterCommitIdAreSameException(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.

BlobIdDoesNotExistException(BlobIdDoesNotExistException)

The specified blob does not exist.

BlobIdRequiredException(BlobIdRequiredException)

A blob ID is required, but was not specified.

BranchDoesNotExistException(BranchDoesNotExistException)

The specified branch does not exist.

BranchNameExistsException(BranchNameExistsException)

Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name. Branch names must be unique.

BranchNameIsTagNameException(BranchNameIsTagNameException)

The specified branch name is not valid because it is a tag name. Enter the name of a branch in the repository. For a list of valid branch names, use ListBranches.

BranchNameRequiredException(BranchNameRequiredException)

A branch name is required, but was not specified.

CannotDeleteApprovalRuleFromTemplateException(CannotDeleteApprovalRuleFromTemplateException)

The approval rule cannot be deleted from the pull request because it was created by an approval rule template and applied to the pull request automatically.

CannotModifyApprovalRuleFromTemplateException(CannotModifyApprovalRuleFromTemplateException)

The approval rule cannot be modified for the pull request because it was created by an approval rule template and applied to the pull request automatically.

ClientRequestTokenRequiredException(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 returns information about the initial request that used that token.

CommentContentRequiredException(CommentContentRequiredException)

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

CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException)

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

CommentDeletedException(CommentDeletedException)

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

CommentDoesNotExistException(CommentDoesNotExistException)

No comment exists with the provided ID. Verify that you have used the correct ID, and then try again.

CommentIdRequiredException(CommentIdRequiredException)

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

CommentNotCreatedByCallerException(CommentNotCreatedByCallerException)

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

CommitDoesNotExistException(CommitDoesNotExistException)

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

CommitIdDoesNotExistException(CommitIdDoesNotExistException)

The specified commit ID does not exist.

CommitIdRequiredException(CommitIdRequiredException)

A commit ID was not specified.

CommitIdsLimitExceededException(CommitIdsLimitExceededException)

The maximum number of allowed commit IDs in a batch request is 100. Verify that your batch requests contains no more than 100 commit IDs, and then try again.

CommitIdsListRequiredException(CommitIdsListRequiredException)

A list of commit IDs is required, but was either not specified or the list was empty.

CommitMessageLengthExceededException(CommitMessageLengthExceededException)

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

CommitRequiredException(CommitRequiredException)

A commit was not specified.

ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException)

The merge cannot be completed because the target branch has been modified. Another user might have modified the target branch while the merge was in progress. Wait a few minutes, and then try again.

DefaultBranchCannotBeDeletedException(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.

DirectoryNameConflictsWithFileNameException(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.

EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException)

An encryption integrity check failed.

EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException)

An encryption key could not be accessed.

EncryptionKeyDisabledException(EncryptionKeyDisabledException)

The encryption key is disabled.

EncryptionKeyNotFoundException(EncryptionKeyNotFoundException)

No encryption key was found.

EncryptionKeyUnavailableException(EncryptionKeyUnavailableException)

The encryption key is not available.

FileContentAndSourceFileSpecifiedException(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.

FileContentRequiredException(FileContentRequiredException)

The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.

FileContentSizeLimitExceededException(FileContentSizeLimitExceededException)

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

FileDoesNotExistException(FileDoesNotExistException)

The specified file does not exist. Verify that you have used the correct file name, full path, and extension.

FileEntryRequiredException(FileEntryRequiredException)

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

FileModeRequiredException(FileModeRequiredException)

The commit cannot be created because no file mode has been specified. A file mode is required to update mode permissions for a file.

FileNameConflictsWithDirectoryNameException(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.

FilePathConflictsWithSubmodulePathException(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.

FileTooLargeException(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.

FolderContentSizeLimitExceededException(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.

FolderDoesNotExistException(FolderDoesNotExistException)

The specified folder does not exist. Either the folder name is not correct, or you did not enter the full path to the folder.

IdempotencyParameterMismatchException(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 reused.

InvalidActorArnException(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.

InvalidApprovalRuleContentException(InvalidApprovalRuleContentException)

The content for the approval rule is not valid.

InvalidApprovalRuleNameException(InvalidApprovalRuleNameException)

The name for the approval rule is not valid.

InvalidApprovalRuleTemplateContentException(InvalidApprovalRuleTemplateContentException)

The content of the approval rule template is not valid.

InvalidApprovalRuleTemplateDescriptionException(InvalidApprovalRuleTemplateDescriptionException)

The description for the approval rule template is not valid because it exceeds the maximum characters allowed for a description. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide.

InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException)

The name of the approval rule template is not valid. Template names must be between 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide.

InvalidApprovalStateException(InvalidApprovalStateException)

The state for the approval is not valid. Valid values include APPROVE and REVOKE.

InvalidAuthorArnException(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.

InvalidBlobIdException(InvalidBlobIdException)

The specified blob is not valid.

InvalidBranchNameException(InvalidBranchNameException)

The specified reference name is not valid.

InvalidClientRequestTokenException(InvalidClientRequestTokenException)

The client request token is not valid.

InvalidCommentIdException(InvalidCommentIdException)

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

InvalidCommitException(InvalidCommitException)

The specified commit is not valid.

InvalidCommitIdException(InvalidCommitIdException)

The specified commit ID is not valid.

InvalidConflictDetailLevelException(InvalidConflictDetailLevelException)

The specified conflict detail level is not valid.

InvalidConflictResolutionException(InvalidConflictResolutionException)

The specified conflict resolution list is not valid.

InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException)

The specified conflict resolution strategy is not valid.

InvalidContinuationTokenException(InvalidContinuationTokenException)

The specified continuation token is not valid.

InvalidDeletionParameterException(InvalidDeletionParameterException)

The specified deletion parameter is not valid.

InvalidDescriptionException(InvalidDescriptionException)

The pull request description is not valid. Descriptions cannot be more than 1,000 characters.

InvalidDestinationCommitSpecifierException(InvalidDestinationCommitSpecifierException)

The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.

InvalidEmailException(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.

InvalidFileLocationException(InvalidFileLocationException)

The location of the file is not valid. Make sure that you include the file name and extension.

InvalidFileModeException(InvalidFileModeException)

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

InvalidFilePositionException(InvalidFilePositionException)

The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.

InvalidMaxConflictFilesException(InvalidMaxConflictFilesException)

The specified value for the number of conflict files to return is not valid.

InvalidMaxMergeHunksException(InvalidMaxMergeHunksException)

The specified value for the number of merge hunks to return is not valid.

InvalidMaxResultsException(InvalidMaxResultsException)

The specified number of maximum results is not valid.

InvalidMergeOptionException(InvalidMergeOptionException)

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

InvalidOrderException(InvalidOrderException)

The specified sort order is not valid.

InvalidOverrideStatusException(InvalidOverrideStatusException)

The override status is not valid. Valid statuses are OVERRIDE and REVOKE.

InvalidParentCommitIdException(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.

InvalidPathException(InvalidPathException)

The specified path is not valid.

InvalidPullRequestEventTypeException(InvalidPullRequestEventTypeException)

The pull request event type is not valid.

InvalidPullRequestIdException(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.

InvalidPullRequestStatusException(InvalidPullRequestStatusException)

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

InvalidPullRequestStatusUpdateException(InvalidPullRequestStatusUpdateException)

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

InvalidReactionUserArnException(InvalidReactionUserArnException)

The Amazon Resource Name (ARN) of the user or identity is not valid.

InvalidReactionValueException(InvalidReactionValueException)

The value of the reaction is not valid. For more information, see the AWS CodeCommit User Guide.

InvalidReferenceNameException(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 or consult your Git documentation.

InvalidRelativeFileVersionEnumException(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.

InvalidReplacementContentException(InvalidReplacementContentException)

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

InvalidReplacementTypeException(InvalidReplacementTypeException)

Automerge was specified for resolving the conflict, but the specified replacement type is not valid.

InvalidRepositoryDescriptionException(InvalidRepositoryDescriptionException)

The specified repository description is not valid.

InvalidRepositoryNameException(InvalidRepositoryNameException)

A specified repository name is not valid.

This exception occurs only 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.

InvalidRepositoryTriggerBranchNameException(InvalidRepositoryTriggerBranchNameException)

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

InvalidRepositoryTriggerCustomDataException(InvalidRepositoryTriggerCustomDataException)

The custom data provided for the trigger is not valid.

InvalidRepositoryTriggerDestinationArnException(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.

InvalidRepositoryTriggerEventsException(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.

InvalidRepositoryTriggerNameException(InvalidRepositoryTriggerNameException)

The name of the trigger is not valid.

InvalidRepositoryTriggerRegionException(InvalidRepositoryTriggerRegionException)

The AWS Region for the trigger target does not match the AWS Region for the repository. Triggers must be created in the same Region as the target for the trigger.

InvalidResourceArnException(InvalidResourceArnException)

The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.

InvalidRevisionIdException(InvalidRevisionIdException)

The revision ID is not valid. Use GetPullRequest to determine the value.

InvalidRuleContentSha256Exception(InvalidRuleContentSha256Exception)

The SHA-256 hash signature for the rule content is not valid.

InvalidSortByException(InvalidSortByException)

The specified sort by value is not valid.

InvalidSourceCommitSpecifierException(InvalidSourceCommitSpecifierException)

The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.

InvalidSystemTagUsageException(InvalidSystemTagUsageException)

The specified tag is not valid. Key names cannot be prefixed with aws:.

InvalidTagKeysListException(InvalidTagKeysListException)

The list of tags is not valid.

InvalidTagsMapException(InvalidTagsMapException)

The map of tags is not valid.

InvalidTargetBranchException(InvalidTargetBranchException)

The specified target branch is not valid.

InvalidTargetException(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.

InvalidTargetsException(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.

InvalidTitleException(InvalidTitleException)

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

ManualMergeRequiredException(ManualMergeRequiredException)

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

MaximumBranchesExceededException(MaximumBranchesExceededException)

The number of branches for the trigger was exceeded.

MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException)

The number of allowed conflict resolution entries was exceeded.

MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException)

The number of files to load exceeds the allowed limit.

MaximumFileEntriesExceededException(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.

MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException)

The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.

MaximumNumberOfApprovalsExceededException(MaximumNumberOfApprovalsExceededException)

The number of approvals required for the approval rule exceeds the maximum number allowed.

MaximumOpenPullRequestsExceededException(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.

MaximumRepositoryNamesExceededException(MaximumRepositoryNamesExceededException)

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

MaximumRepositoryTriggersExceededException(MaximumRepositoryTriggersExceededException)

The number of triggers allowed for the repository was exceeded.

MaximumRuleTemplatesAssociatedWithRepositoryException(MaximumRuleTemplatesAssociatedWithRepositoryException)

The maximum number of approval rule templates for a repository has been exceeded. You cannot associate more than 25 approval rule templates with a repository.

MergeOptionRequiredException(MergeOptionRequiredException)

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

MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException)

More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.

MultipleRepositoriesInPullRequestException(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.

NameLengthExceededException(NameLengthExceededException)

The user name is not valid because it has exceeded the character limit for author names.

NoChangeException(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.

NumberOfRuleTemplatesExceededException(NumberOfRuleTemplatesExceededException)

The maximum number of approval rule templates has been exceeded for this AWS Region.

NumberOfRulesExceededException(NumberOfRulesExceededException)

The approval rule cannot be added. The pull request has the maximum number of approval rules associated with it.

OverrideAlreadySetException(OverrideAlreadySetException)

The pull request has already had its approval rules set to override.

OverrideStatusRequiredException(OverrideStatusRequiredException)

An override status is required, but no value was provided. Valid values include OVERRIDE and REVOKE.

ParentCommitDoesNotExistException(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.

ParentCommitIdOutdatedException(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.

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

PathDoesNotExistException(PathDoesNotExistException)

The specified path does not exist.

PathRequiredException(PathRequiredException)

The folderPath for a location cannot be null.

PullRequestAlreadyClosedException(PullRequestAlreadyClosedException)

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

PullRequestApprovalRulesNotSatisfiedException(PullRequestApprovalRulesNotSatisfiedException)

The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met.

PullRequestCannotBeApprovedByAuthorException(PullRequestCannotBeApprovedByAuthorException)

The approval cannot be applied because the user approving the pull request matches the user who created the pull request. You cannot approve a pull request that you created.

PullRequestDoesNotExistException(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.

PullRequestIdRequiredException(PullRequestIdRequiredException)

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

PullRequestStatusRequiredException(PullRequestStatusRequiredException)

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

PutFileEntryConflictException(PutFileEntryConflictException)

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

ReactionLimitExceededException(ReactionLimitExceededException)

The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.

ReactionValueRequiredException(ReactionValueRequiredException)

A reaction value is required.

ReferenceDoesNotExistException(ReferenceDoesNotExistException)

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

ReferenceNameRequiredException(ReferenceNameRequiredException)

A reference name is required, but none was provided.

ReferenceTypeNotSupportedException(ReferenceTypeNotSupportedException)

The specified reference is not a supported type.

ReplacementContentRequiredException(ReplacementContentRequiredException)

USE_NEW_CONTENT was specified, but no replacement content has been provided.

ReplacementTypeRequiredException(ReplacementTypeRequiredException)

A replacement type is required.

RepositoryDoesNotExistException(RepositoryDoesNotExistException)

The specified repository does not exist.

RepositoryLimitExceededException(RepositoryLimitExceededException)

A repository resource limit was exceeded.

RepositoryNameExistsException(RepositoryNameExistsException)

The specified repository name already exists.

RepositoryNameRequiredException(RepositoryNameRequiredException)

A repository name is required, but was not specified.

RepositoryNamesRequiredException(RepositoryNamesRequiredException)

At least one repository name object is required, but was not specified.

RepositoryNotAssociatedWithPullRequestException(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.

RepositoryTriggerBranchNameListRequiredException(RepositoryTriggerBranchNameListRequiredException)

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

RepositoryTriggerDestinationArnRequiredException(RepositoryTriggerDestinationArnRequiredException)

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

RepositoryTriggerEventsListRequiredException(RepositoryTriggerEventsListRequiredException)

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

RepositoryTriggerNameRequiredException(RepositoryTriggerNameRequiredException)

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

RepositoryTriggersListRequiredException(RepositoryTriggersListRequiredException)

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

ResourceArnRequiredException(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 in the AWS CodeCommit User Guide.

RestrictedSourceFileException(RestrictedSourceFileException)

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

RevisionIdRequiredException(RevisionIdRequiredException)

A revision ID is required, but was not provided.

RevisionNotCurrentException(RevisionNotCurrentException)

The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.

SameFileContentException(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.

SamePathRequestException(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.

SourceAndDestinationAreSameException(SourceAndDestinationAreSameException)

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

SourceFileOrContentRequiredException(SourceFileOrContentRequiredException)

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

TagKeysListRequiredException(TagKeysListRequiredException)

A list of tag keys is required. The list cannot be empty or null.

TagPolicyException(TagPolicyException)

The tag policy is not valid.

TagsMapRequiredException(TagsMapRequiredException)

A map of tags is required.

TargetRequiredException(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.

TargetsRequiredException(TargetsRequiredException)

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

TipOfSourceReferenceIsDifferentException(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.

TipsDivergenceExceededException(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.

TitleRequiredException(TitleRequiredException)

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

TooManyTagsException(TooManyTagsException)

The maximum number of tags for an AWS CodeCommit resource has been exceeded.

Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more