{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.CodeCommit.Types
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.CodeCommit.Types
  ( -- * Service Configuration
    defaultService,

    -- * Errors
    _ActorDoesNotExistException,
    _ApprovalRuleContentRequiredException,
    _ApprovalRuleDoesNotExistException,
    _ApprovalRuleNameAlreadyExistsException,
    _ApprovalRuleNameRequiredException,
    _ApprovalRuleTemplateContentRequiredException,
    _ApprovalRuleTemplateDoesNotExistException,
    _ApprovalRuleTemplateInUseException,
    _ApprovalRuleTemplateNameAlreadyExistsException,
    _ApprovalRuleTemplateNameRequiredException,
    _ApprovalStateRequiredException,
    _AuthorDoesNotExistException,
    _BeforeCommitIdAndAfterCommitIdAreSameException,
    _BlobIdDoesNotExistException,
    _BlobIdRequiredException,
    _BranchDoesNotExistException,
    _BranchNameExistsException,
    _BranchNameIsTagNameException,
    _BranchNameRequiredException,
    _CannotDeleteApprovalRuleFromTemplateException,
    _CannotModifyApprovalRuleFromTemplateException,
    _ClientRequestTokenRequiredException,
    _CommentContentRequiredException,
    _CommentContentSizeLimitExceededException,
    _CommentDeletedException,
    _CommentDoesNotExistException,
    _CommentIdRequiredException,
    _CommentNotCreatedByCallerException,
    _CommitDoesNotExistException,
    _CommitIdDoesNotExistException,
    _CommitIdRequiredException,
    _CommitIdsLimitExceededException,
    _CommitIdsListRequiredException,
    _CommitMessageLengthExceededException,
    _CommitRequiredException,
    _ConcurrentReferenceUpdateException,
    _DefaultBranchCannotBeDeletedException,
    _DirectoryNameConflictsWithFileNameException,
    _EncryptionIntegrityChecksFailedException,
    _EncryptionKeyAccessDeniedException,
    _EncryptionKeyDisabledException,
    _EncryptionKeyNotFoundException,
    _EncryptionKeyUnavailableException,
    _FileContentAndSourceFileSpecifiedException,
    _FileContentRequiredException,
    _FileContentSizeLimitExceededException,
    _FileDoesNotExistException,
    _FileEntryRequiredException,
    _FileModeRequiredException,
    _FileNameConflictsWithDirectoryNameException,
    _FilePathConflictsWithSubmodulePathException,
    _FileTooLargeException,
    _FolderContentSizeLimitExceededException,
    _FolderDoesNotExistException,
    _IdempotencyParameterMismatchException,
    _InvalidActorArnException,
    _InvalidApprovalRuleContentException,
    _InvalidApprovalRuleNameException,
    _InvalidApprovalRuleTemplateContentException,
    _InvalidApprovalRuleTemplateDescriptionException,
    _InvalidApprovalRuleTemplateNameException,
    _InvalidApprovalStateException,
    _InvalidAuthorArnException,
    _InvalidBlobIdException,
    _InvalidBranchNameException,
    _InvalidClientRequestTokenException,
    _InvalidCommentIdException,
    _InvalidCommitException,
    _InvalidCommitIdException,
    _InvalidConflictDetailLevelException,
    _InvalidConflictResolutionException,
    _InvalidConflictResolutionStrategyException,
    _InvalidContinuationTokenException,
    _InvalidDeletionParameterException,
    _InvalidDescriptionException,
    _InvalidDestinationCommitSpecifierException,
    _InvalidEmailException,
    _InvalidFileLocationException,
    _InvalidFileModeException,
    _InvalidFilePositionException,
    _InvalidMaxConflictFilesException,
    _InvalidMaxMergeHunksException,
    _InvalidMaxResultsException,
    _InvalidMergeOptionException,
    _InvalidOrderException,
    _InvalidOverrideStatusException,
    _InvalidParentCommitIdException,
    _InvalidPathException,
    _InvalidPullRequestEventTypeException,
    _InvalidPullRequestIdException,
    _InvalidPullRequestStatusException,
    _InvalidPullRequestStatusUpdateException,
    _InvalidReactionUserArnException,
    _InvalidReactionValueException,
    _InvalidReferenceNameException,
    _InvalidRelativeFileVersionEnumException,
    _InvalidReplacementContentException,
    _InvalidReplacementTypeException,
    _InvalidRepositoryDescriptionException,
    _InvalidRepositoryNameException,
    _InvalidRepositoryTriggerBranchNameException,
    _InvalidRepositoryTriggerCustomDataException,
    _InvalidRepositoryTriggerDestinationArnException,
    _InvalidRepositoryTriggerEventsException,
    _InvalidRepositoryTriggerNameException,
    _InvalidRepositoryTriggerRegionException,
    _InvalidResourceArnException,
    _InvalidRevisionIdException,
    _InvalidRuleContentSha256Exception,
    _InvalidSortByException,
    _InvalidSourceCommitSpecifierException,
    _InvalidSystemTagUsageException,
    _InvalidTagKeysListException,
    _InvalidTagsMapException,
    _InvalidTargetBranchException,
    _InvalidTargetException,
    _InvalidTargetsException,
    _InvalidTitleException,
    _ManualMergeRequiredException,
    _MaximumBranchesExceededException,
    _MaximumConflictResolutionEntriesExceededException,
    _MaximumFileContentToLoadExceededException,
    _MaximumFileEntriesExceededException,
    _MaximumItemsToCompareExceededException,
    _MaximumNumberOfApprovalsExceededException,
    _MaximumOpenPullRequestsExceededException,
    _MaximumRepositoryNamesExceededException,
    _MaximumRepositoryTriggersExceededException,
    _MaximumRuleTemplatesAssociatedWithRepositoryException,
    _MergeOptionRequiredException,
    _MultipleConflictResolutionEntriesException,
    _MultipleRepositoriesInPullRequestException,
    _NameLengthExceededException,
    _NoChangeException,
    _NumberOfRuleTemplatesExceededException,
    _NumberOfRulesExceededException,
    _OverrideAlreadySetException,
    _OverrideStatusRequiredException,
    _ParentCommitDoesNotExistException,
    _ParentCommitIdOutdatedException,
    _ParentCommitIdRequiredException,
    _PathDoesNotExistException,
    _PathRequiredException,
    _PullRequestAlreadyClosedException,
    _PullRequestApprovalRulesNotSatisfiedException,
    _PullRequestCannotBeApprovedByAuthorException,
    _PullRequestDoesNotExistException,
    _PullRequestIdRequiredException,
    _PullRequestStatusRequiredException,
    _PutFileEntryConflictException,
    _ReactionLimitExceededException,
    _ReactionValueRequiredException,
    _ReferenceDoesNotExistException,
    _ReferenceNameRequiredException,
    _ReferenceTypeNotSupportedException,
    _ReplacementContentRequiredException,
    _ReplacementTypeRequiredException,
    _RepositoryDoesNotExistException,
    _RepositoryLimitExceededException,
    _RepositoryNameExistsException,
    _RepositoryNameRequiredException,
    _RepositoryNamesRequiredException,
    _RepositoryNotAssociatedWithPullRequestException,
    _RepositoryTriggerBranchNameListRequiredException,
    _RepositoryTriggerDestinationArnRequiredException,
    _RepositoryTriggerEventsListRequiredException,
    _RepositoryTriggerNameRequiredException,
    _RepositoryTriggersListRequiredException,
    _ResourceArnRequiredException,
    _RestrictedSourceFileException,
    _RevisionIdRequiredException,
    _RevisionNotCurrentException,
    _SameFileContentException,
    _SamePathRequestException,
    _SourceAndDestinationAreSameException,
    _SourceFileOrContentRequiredException,
    _TagKeysListRequiredException,
    _TagPolicyException,
    _TagsMapRequiredException,
    _TargetRequiredException,
    _TargetsRequiredException,
    _TipOfSourceReferenceIsDifferentException,
    _TipsDivergenceExceededException,
    _TitleRequiredException,
    _TooManyTagsException,

    -- * ApprovalState
    ApprovalState (..),

    -- * ChangeTypeEnum
    ChangeTypeEnum (..),

    -- * ConflictDetailLevelTypeEnum
    ConflictDetailLevelTypeEnum (..),

    -- * ConflictResolutionStrategyTypeEnum
    ConflictResolutionStrategyTypeEnum (..),

    -- * FileModeTypeEnum
    FileModeTypeEnum (..),

    -- * MergeOptionTypeEnum
    MergeOptionTypeEnum (..),

    -- * ObjectTypeEnum
    ObjectTypeEnum (..),

    -- * OrderEnum
    OrderEnum (..),

    -- * OverrideStatus
    OverrideStatus (..),

    -- * PullRequestEventType
    PullRequestEventType (..),

    -- * PullRequestStatusEnum
    PullRequestStatusEnum (..),

    -- * RelativeFileVersionEnum
    RelativeFileVersionEnum (..),

    -- * ReplacementTypeEnum
    ReplacementTypeEnum (..),

    -- * RepositoryTriggerEventEnum
    RepositoryTriggerEventEnum (..),

    -- * SortByEnum
    SortByEnum (..),

    -- * Approval
    Approval (..),
    newApproval,
    approval_approvalState,
    approval_userArn,

    -- * ApprovalRule
    ApprovalRule (..),
    newApprovalRule,
    approvalRule_approvalRuleContent,
    approvalRule_approvalRuleId,
    approvalRule_approvalRuleName,
    approvalRule_creationDate,
    approvalRule_lastModifiedDate,
    approvalRule_lastModifiedUser,
    approvalRule_originApprovalRuleTemplate,
    approvalRule_ruleContentSha256,

    -- * ApprovalRuleEventMetadata
    ApprovalRuleEventMetadata (..),
    newApprovalRuleEventMetadata,
    approvalRuleEventMetadata_approvalRuleContent,
    approvalRuleEventMetadata_approvalRuleId,
    approvalRuleEventMetadata_approvalRuleName,

    -- * ApprovalRuleOverriddenEventMetadata
    ApprovalRuleOverriddenEventMetadata (..),
    newApprovalRuleOverriddenEventMetadata,
    approvalRuleOverriddenEventMetadata_overrideStatus,
    approvalRuleOverriddenEventMetadata_revisionId,

    -- * ApprovalRuleTemplate
    ApprovalRuleTemplate (..),
    newApprovalRuleTemplate,
    approvalRuleTemplate_approvalRuleTemplateContent,
    approvalRuleTemplate_approvalRuleTemplateDescription,
    approvalRuleTemplate_approvalRuleTemplateId,
    approvalRuleTemplate_approvalRuleTemplateName,
    approvalRuleTemplate_creationDate,
    approvalRuleTemplate_lastModifiedDate,
    approvalRuleTemplate_lastModifiedUser,
    approvalRuleTemplate_ruleContentSha256,

    -- * ApprovalStateChangedEventMetadata
    ApprovalStateChangedEventMetadata (..),
    newApprovalStateChangedEventMetadata,
    approvalStateChangedEventMetadata_approvalStatus,
    approvalStateChangedEventMetadata_revisionId,

    -- * BatchAssociateApprovalRuleTemplateWithRepositoriesError
    BatchAssociateApprovalRuleTemplateWithRepositoriesError (..),
    newBatchAssociateApprovalRuleTemplateWithRepositoriesError,
    batchAssociateApprovalRuleTemplateWithRepositoriesError_errorCode,
    batchAssociateApprovalRuleTemplateWithRepositoriesError_errorMessage,
    batchAssociateApprovalRuleTemplateWithRepositoriesError_repositoryName,

    -- * BatchDescribeMergeConflictsError
    BatchDescribeMergeConflictsError (..),
    newBatchDescribeMergeConflictsError,
    batchDescribeMergeConflictsError_filePath,
    batchDescribeMergeConflictsError_exceptionName,
    batchDescribeMergeConflictsError_message,

    -- * BatchDisassociateApprovalRuleTemplateFromRepositoriesError
    BatchDisassociateApprovalRuleTemplateFromRepositoriesError (..),
    newBatchDisassociateApprovalRuleTemplateFromRepositoriesError,
    batchDisassociateApprovalRuleTemplateFromRepositoriesError_errorCode,
    batchDisassociateApprovalRuleTemplateFromRepositoriesError_errorMessage,
    batchDisassociateApprovalRuleTemplateFromRepositoriesError_repositoryName,

    -- * BatchGetCommitsError
    BatchGetCommitsError (..),
    newBatchGetCommitsError,
    batchGetCommitsError_commitId,
    batchGetCommitsError_errorCode,
    batchGetCommitsError_errorMessage,

    -- * BlobMetadata
    BlobMetadata (..),
    newBlobMetadata,
    blobMetadata_blobId,
    blobMetadata_mode,
    blobMetadata_path,

    -- * BranchInfo
    BranchInfo (..),
    newBranchInfo,
    branchInfo_branchName,
    branchInfo_commitId,

    -- * Comment
    Comment (..),
    newComment,
    comment_authorArn,
    comment_callerReactions,
    comment_clientRequestToken,
    comment_commentId,
    comment_content,
    comment_creationDate,
    comment_deleted,
    comment_inReplyTo,
    comment_lastModifiedDate,
    comment_reactionCounts,

    -- * CommentsForComparedCommit
    CommentsForComparedCommit (..),
    newCommentsForComparedCommit,
    commentsForComparedCommit_afterBlobId,
    commentsForComparedCommit_afterCommitId,
    commentsForComparedCommit_beforeBlobId,
    commentsForComparedCommit_beforeCommitId,
    commentsForComparedCommit_comments,
    commentsForComparedCommit_location,
    commentsForComparedCommit_repositoryName,

    -- * CommentsForPullRequest
    CommentsForPullRequest (..),
    newCommentsForPullRequest,
    commentsForPullRequest_afterBlobId,
    commentsForPullRequest_afterCommitId,
    commentsForPullRequest_beforeBlobId,
    commentsForPullRequest_beforeCommitId,
    commentsForPullRequest_comments,
    commentsForPullRequest_location,
    commentsForPullRequest_pullRequestId,
    commentsForPullRequest_repositoryName,

    -- * Commit
    Commit (..),
    newCommit,
    commit_additionalData,
    commit_author,
    commit_commitId,
    commit_committer,
    commit_message,
    commit_parents,
    commit_treeId,

    -- * Conflict
    Conflict (..),
    newConflict,
    conflict_conflictMetadata,
    conflict_mergeHunks,

    -- * ConflictMetadata
    ConflictMetadata (..),
    newConflictMetadata,
    conflictMetadata_contentConflict,
    conflictMetadata_fileModeConflict,
    conflictMetadata_fileModes,
    conflictMetadata_filePath,
    conflictMetadata_fileSizes,
    conflictMetadata_isBinaryFile,
    conflictMetadata_mergeOperations,
    conflictMetadata_numberOfConflicts,
    conflictMetadata_objectTypeConflict,
    conflictMetadata_objectTypes,

    -- * ConflictResolution
    ConflictResolution (..),
    newConflictResolution,
    conflictResolution_deleteFiles,
    conflictResolution_replaceContents,
    conflictResolution_setFileModes,

    -- * DeleteFileEntry
    DeleteFileEntry (..),
    newDeleteFileEntry,
    deleteFileEntry_filePath,

    -- * Difference
    Difference (..),
    newDifference,
    difference_afterBlob,
    difference_beforeBlob,
    difference_changeType,

    -- * Evaluation
    Evaluation (..),
    newEvaluation,
    evaluation_approvalRulesNotSatisfied,
    evaluation_approvalRulesSatisfied,
    evaluation_approved,
    evaluation_overridden,

    -- * File
    File (..),
    newFile,
    file_absolutePath,
    file_blobId,
    file_fileMode,
    file_relativePath,

    -- * FileMetadata
    FileMetadata (..),
    newFileMetadata,
    fileMetadata_absolutePath,
    fileMetadata_blobId,
    fileMetadata_fileMode,

    -- * FileModes
    FileModes (..),
    newFileModes,
    fileModes_base,
    fileModes_destination,
    fileModes_source,

    -- * FileSizes
    FileSizes (..),
    newFileSizes,
    fileSizes_base,
    fileSizes_destination,
    fileSizes_source,

    -- * Folder
    Folder (..),
    newFolder,
    folder_absolutePath,
    folder_relativePath,
    folder_treeId,

    -- * IsBinaryFile
    IsBinaryFile (..),
    newIsBinaryFile,
    isBinaryFile_base,
    isBinaryFile_destination,
    isBinaryFile_source,

    -- * Location
    Location (..),
    newLocation,
    location_filePath,
    location_filePosition,
    location_relativeFileVersion,

    -- * MergeHunk
    MergeHunk (..),
    newMergeHunk,
    mergeHunk_base,
    mergeHunk_destination,
    mergeHunk_isConflict,
    mergeHunk_source,

    -- * MergeHunkDetail
    MergeHunkDetail (..),
    newMergeHunkDetail,
    mergeHunkDetail_endLine,
    mergeHunkDetail_hunkContent,
    mergeHunkDetail_startLine,

    -- * MergeMetadata
    MergeMetadata (..),
    newMergeMetadata,
    mergeMetadata_isMerged,
    mergeMetadata_mergeCommitId,
    mergeMetadata_mergeOption,
    mergeMetadata_mergedBy,

    -- * MergeOperations
    MergeOperations (..),
    newMergeOperations,
    mergeOperations_destination,
    mergeOperations_source,

    -- * ObjectTypes
    ObjectTypes (..),
    newObjectTypes,
    objectTypes_base,
    objectTypes_destination,
    objectTypes_source,

    -- * OriginApprovalRuleTemplate
    OriginApprovalRuleTemplate (..),
    newOriginApprovalRuleTemplate,
    originApprovalRuleTemplate_approvalRuleTemplateId,
    originApprovalRuleTemplate_approvalRuleTemplateName,

    -- * PullRequest
    PullRequest (..),
    newPullRequest,
    pullRequest_approvalRules,
    pullRequest_authorArn,
    pullRequest_clientRequestToken,
    pullRequest_creationDate,
    pullRequest_description,
    pullRequest_lastActivityDate,
    pullRequest_pullRequestId,
    pullRequest_pullRequestStatus,
    pullRequest_pullRequestTargets,
    pullRequest_revisionId,
    pullRequest_title,

    -- * PullRequestCreatedEventMetadata
    PullRequestCreatedEventMetadata (..),
    newPullRequestCreatedEventMetadata,
    pullRequestCreatedEventMetadata_destinationCommitId,
    pullRequestCreatedEventMetadata_mergeBase,
    pullRequestCreatedEventMetadata_repositoryName,
    pullRequestCreatedEventMetadata_sourceCommitId,

    -- * PullRequestEvent
    PullRequestEvent (..),
    newPullRequestEvent,
    pullRequestEvent_actorArn,
    pullRequestEvent_approvalRuleEventMetadata,
    pullRequestEvent_approvalRuleOverriddenEventMetadata,
    pullRequestEvent_approvalStateChangedEventMetadata,
    pullRequestEvent_eventDate,
    pullRequestEvent_pullRequestCreatedEventMetadata,
    pullRequestEvent_pullRequestEventType,
    pullRequestEvent_pullRequestId,
    pullRequestEvent_pullRequestMergedStateChangedEventMetadata,
    pullRequestEvent_pullRequestSourceReferenceUpdatedEventMetadata,
    pullRequestEvent_pullRequestStatusChangedEventMetadata,

    -- * PullRequestMergedStateChangedEventMetadata
    PullRequestMergedStateChangedEventMetadata (..),
    newPullRequestMergedStateChangedEventMetadata,
    pullRequestMergedStateChangedEventMetadata_destinationReference,
    pullRequestMergedStateChangedEventMetadata_mergeMetadata,
    pullRequestMergedStateChangedEventMetadata_repositoryName,

    -- * PullRequestSourceReferenceUpdatedEventMetadata
    PullRequestSourceReferenceUpdatedEventMetadata (..),
    newPullRequestSourceReferenceUpdatedEventMetadata,
    pullRequestSourceReferenceUpdatedEventMetadata_afterCommitId,
    pullRequestSourceReferenceUpdatedEventMetadata_beforeCommitId,
    pullRequestSourceReferenceUpdatedEventMetadata_mergeBase,
    pullRequestSourceReferenceUpdatedEventMetadata_repositoryName,

    -- * PullRequestStatusChangedEventMetadata
    PullRequestStatusChangedEventMetadata (..),
    newPullRequestStatusChangedEventMetadata,
    pullRequestStatusChangedEventMetadata_pullRequestStatus,

    -- * PullRequestTarget
    PullRequestTarget (..),
    newPullRequestTarget,
    pullRequestTarget_destinationCommit,
    pullRequestTarget_destinationReference,
    pullRequestTarget_mergeBase,
    pullRequestTarget_mergeMetadata,
    pullRequestTarget_repositoryName,
    pullRequestTarget_sourceCommit,
    pullRequestTarget_sourceReference,

    -- * PutFileEntry
    PutFileEntry (..),
    newPutFileEntry,
    putFileEntry_fileContent,
    putFileEntry_fileMode,
    putFileEntry_sourceFile,
    putFileEntry_filePath,

    -- * ReactionForComment
    ReactionForComment (..),
    newReactionForComment,
    reactionForComment_reaction,
    reactionForComment_reactionUsers,
    reactionForComment_reactionsFromDeletedUsersCount,

    -- * ReactionValueFormats
    ReactionValueFormats (..),
    newReactionValueFormats,
    reactionValueFormats_emoji,
    reactionValueFormats_shortCode,
    reactionValueFormats_unicode,

    -- * ReplaceContentEntry
    ReplaceContentEntry (..),
    newReplaceContentEntry,
    replaceContentEntry_content,
    replaceContentEntry_fileMode,
    replaceContentEntry_filePath,
    replaceContentEntry_replacementType,

    -- * RepositoryMetadata
    RepositoryMetadata (..),
    newRepositoryMetadata,
    repositoryMetadata_arn,
    repositoryMetadata_accountId,
    repositoryMetadata_cloneUrlHttp,
    repositoryMetadata_cloneUrlSsh,
    repositoryMetadata_creationDate,
    repositoryMetadata_defaultBranch,
    repositoryMetadata_lastModifiedDate,
    repositoryMetadata_repositoryDescription,
    repositoryMetadata_repositoryId,
    repositoryMetadata_repositoryName,

    -- * RepositoryNameIdPair
    RepositoryNameIdPair (..),
    newRepositoryNameIdPair,
    repositoryNameIdPair_repositoryId,
    repositoryNameIdPair_repositoryName,

    -- * RepositoryTrigger
    RepositoryTrigger (..),
    newRepositoryTrigger,
    repositoryTrigger_branches,
    repositoryTrigger_customData,
    repositoryTrigger_name,
    repositoryTrigger_destinationArn,
    repositoryTrigger_events,

    -- * RepositoryTriggerExecutionFailure
    RepositoryTriggerExecutionFailure (..),
    newRepositoryTriggerExecutionFailure,
    repositoryTriggerExecutionFailure_failureMessage,
    repositoryTriggerExecutionFailure_trigger,

    -- * SetFileModeEntry
    SetFileModeEntry (..),
    newSetFileModeEntry,
    setFileModeEntry_filePath,
    setFileModeEntry_fileMode,

    -- * SourceFileSpecifier
    SourceFileSpecifier (..),
    newSourceFileSpecifier,
    sourceFileSpecifier_isMove,
    sourceFileSpecifier_filePath,

    -- * SubModule
    SubModule (..),
    newSubModule,
    subModule_absolutePath,
    subModule_commitId,
    subModule_relativePath,

    -- * SymbolicLink
    SymbolicLink (..),
    newSymbolicLink,
    symbolicLink_absolutePath,
    symbolicLink_blobId,
    symbolicLink_fileMode,
    symbolicLink_relativePath,

    -- * Target
    Target (..),
    newTarget,
    target_destinationReference,
    target_repositoryName,
    target_sourceReference,

    -- * UserInfo
    UserInfo (..),
    newUserInfo,
    userInfo_date,
    userInfo_email,
    userInfo_name,
  )
where

import Amazonka.CodeCommit.Types.Approval
import Amazonka.CodeCommit.Types.ApprovalRule
import Amazonka.CodeCommit.Types.ApprovalRuleEventMetadata
import Amazonka.CodeCommit.Types.ApprovalRuleOverriddenEventMetadata
import Amazonka.CodeCommit.Types.ApprovalRuleTemplate
import Amazonka.CodeCommit.Types.ApprovalState
import Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata
import Amazonka.CodeCommit.Types.BatchAssociateApprovalRuleTemplateWithRepositoriesError
import Amazonka.CodeCommit.Types.BatchDescribeMergeConflictsError
import Amazonka.CodeCommit.Types.BatchDisassociateApprovalRuleTemplateFromRepositoriesError
import Amazonka.CodeCommit.Types.BatchGetCommitsError
import Amazonka.CodeCommit.Types.BlobMetadata
import Amazonka.CodeCommit.Types.BranchInfo
import Amazonka.CodeCommit.Types.ChangeTypeEnum
import Amazonka.CodeCommit.Types.Comment
import Amazonka.CodeCommit.Types.CommentsForComparedCommit
import Amazonka.CodeCommit.Types.CommentsForPullRequest
import Amazonka.CodeCommit.Types.Commit
import Amazonka.CodeCommit.Types.Conflict
import Amazonka.CodeCommit.Types.ConflictDetailLevelTypeEnum
import Amazonka.CodeCommit.Types.ConflictMetadata
import Amazonka.CodeCommit.Types.ConflictResolution
import Amazonka.CodeCommit.Types.ConflictResolutionStrategyTypeEnum
import Amazonka.CodeCommit.Types.DeleteFileEntry
import Amazonka.CodeCommit.Types.Difference
import Amazonka.CodeCommit.Types.Evaluation
import Amazonka.CodeCommit.Types.File
import Amazonka.CodeCommit.Types.FileMetadata
import Amazonka.CodeCommit.Types.FileModeTypeEnum
import Amazonka.CodeCommit.Types.FileModes
import Amazonka.CodeCommit.Types.FileSizes
import Amazonka.CodeCommit.Types.Folder
import Amazonka.CodeCommit.Types.IsBinaryFile
import Amazonka.CodeCommit.Types.Location
import Amazonka.CodeCommit.Types.MergeHunk
import Amazonka.CodeCommit.Types.MergeHunkDetail
import Amazonka.CodeCommit.Types.MergeMetadata
import Amazonka.CodeCommit.Types.MergeOperations
import Amazonka.CodeCommit.Types.MergeOptionTypeEnum
import Amazonka.CodeCommit.Types.ObjectTypeEnum
import Amazonka.CodeCommit.Types.ObjectTypes
import Amazonka.CodeCommit.Types.OrderEnum
import Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate
import Amazonka.CodeCommit.Types.OverrideStatus
import Amazonka.CodeCommit.Types.PullRequest
import Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata
import Amazonka.CodeCommit.Types.PullRequestEvent
import Amazonka.CodeCommit.Types.PullRequestEventType
import Amazonka.CodeCommit.Types.PullRequestMergedStateChangedEventMetadata
import Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata
import Amazonka.CodeCommit.Types.PullRequestStatusChangedEventMetadata
import Amazonka.CodeCommit.Types.PullRequestStatusEnum
import Amazonka.CodeCommit.Types.PullRequestTarget
import Amazonka.CodeCommit.Types.PutFileEntry
import Amazonka.CodeCommit.Types.ReactionForComment
import Amazonka.CodeCommit.Types.ReactionValueFormats
import Amazonka.CodeCommit.Types.RelativeFileVersionEnum
import Amazonka.CodeCommit.Types.ReplaceContentEntry
import Amazonka.CodeCommit.Types.ReplacementTypeEnum
import Amazonka.CodeCommit.Types.RepositoryMetadata
import Amazonka.CodeCommit.Types.RepositoryNameIdPair
import Amazonka.CodeCommit.Types.RepositoryTrigger
import Amazonka.CodeCommit.Types.RepositoryTriggerEventEnum
import Amazonka.CodeCommit.Types.RepositoryTriggerExecutionFailure
import Amazonka.CodeCommit.Types.SetFileModeEntry
import Amazonka.CodeCommit.Types.SortByEnum
import Amazonka.CodeCommit.Types.SourceFileSpecifier
import Amazonka.CodeCommit.Types.SubModule
import Amazonka.CodeCommit.Types.SymbolicLink
import Amazonka.CodeCommit.Types.Target
import Amazonka.CodeCommit.Types.UserInfo
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign

-- | API version @2015-04-13@ of the Amazon CodeCommit SDK configuration.
defaultService :: Core.Service
defaultService :: Service
defaultService =
  Core.Service
    { $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"CodeCommit",
      $sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
      $sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"codecommit",
      $sel:signingName:Service :: ByteString
Core.signingName = ByteString
"codecommit",
      $sel:version:Service :: ByteString
Core.version = ByteString
"2015-04-13",
      $sel:s3AddressingStyle:Service :: S3AddressingStyle
Core.s3AddressingStyle = S3AddressingStyle
Core.S3AddressingStyleAuto,
      $sel:endpoint:Service :: Region -> Endpoint
Core.endpoint = Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
      $sel:timeout:Service :: Maybe Seconds
Core.timeout = forall a. a -> Maybe a
Prelude.Just Seconds
70,
      $sel:check:Service :: Status -> Bool
Core.check = Status -> Bool
Core.statusSuccess,
      $sel:error:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core.error = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"CodeCommit",
      $sel:retry:Service :: Retry
Core.retry = Retry
retry
    }
  where
    retry :: Retry
retry =
      Core.Exponential
        { $sel:base:Exponential :: Double
Core.base = Double
5.0e-2,
          $sel:growth:Exponential :: Int
Core.growth = Int
2,
          $sel:attempts:Exponential :: Int
Core.attempts = Int
5,
          $sel:check:Exponential :: ServiceError -> Maybe Text
Core.check = forall {a}. IsString a => ServiceError -> Maybe a
check
        }
    check :: ServiceError -> Maybe a
check ServiceError
e
      | forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has
          ( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
              forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
          )
          ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has
          ( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
              forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
          )
          ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has
          ( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
              forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
          )
          ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"throttling"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has
          ( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
              forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
          )
          ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has
          ( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
              ErrorCode
"ProvisionedThroughputExceededException"
              forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
          )
          ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
      | forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
          forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
      | Bool
Prelude.otherwise = forall a. Maybe a
Prelude.Nothing

-- | The specified Amazon Resource Name (ARN) does not exist in the AWS
-- account.
_ActorDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ActorDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_ActorDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ActorDoesNotExistException"

-- | The content for the approval rule is empty. You must provide some
-- content for an approval rule. The content cannot be null.
_ApprovalRuleContentRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleContentRequiredException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleContentRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleContentRequiredException"

-- | The specified approval rule does not exist.
_ApprovalRuleDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleDoesNotExistException"

-- | An approval rule with that name already exists. Approval rule names must
-- be unique within the scope of a pull request.
_ApprovalRuleNameAlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleNameAlreadyExistsException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleNameAlreadyExistsException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleNameAlreadyExistsException"

-- | An approval rule name is required, but was not specified.
_ApprovalRuleNameRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleNameRequiredException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleNameRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleNameRequiredException"

-- | The content for the approval rule template is empty. You must provide
-- some content for an approval rule template. The content cannot be null.
_ApprovalRuleTemplateContentRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleTemplateContentRequiredException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleTemplateContentRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleTemplateContentRequiredException"

-- | 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.
_ApprovalRuleTemplateDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleTemplateDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleTemplateDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleTemplateDoesNotExistException"

-- | 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.
_ApprovalRuleTemplateInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleTemplateInUseException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleTemplateInUseException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleTemplateInUseException"

-- | 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.
_ApprovalRuleTemplateNameAlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleTemplateNameAlreadyExistsException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleTemplateNameAlreadyExistsException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleTemplateNameAlreadyExistsException"

-- | An approval rule template name is required, but was not specified.
_ApprovalRuleTemplateNameRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalRuleTemplateNameRequiredException :: forall a. AsError a => Fold a ServiceError
_ApprovalRuleTemplateNameRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalRuleTemplateNameRequiredException"

-- | An approval state is required, but was not specified.
_ApprovalStateRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ApprovalStateRequiredException :: forall a. AsError a => Fold a ServiceError
_ApprovalStateRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ApprovalStateRequiredException"

-- | The specified Amazon Resource Name (ARN) does not exist in the AWS
-- account.
_AuthorDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AuthorDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_AuthorDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"AuthorDoesNotExistException"

-- | 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.
_BeforeCommitIdAndAfterCommitIdAreSameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_BeforeCommitIdAndAfterCommitIdAreSameException :: forall a. AsError a => Fold a ServiceError
_BeforeCommitIdAndAfterCommitIdAreSameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"BeforeCommitIdAndAfterCommitIdAreSameException"

-- | The specified blob does not exist.
_BlobIdDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_BlobIdDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_BlobIdDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"BlobIdDoesNotExistException"

-- | A blob ID is required, but was not specified.
_BlobIdRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_BlobIdRequiredException :: forall a. AsError a => Fold a ServiceError
_BlobIdRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"BlobIdRequiredException"

-- | The specified branch does not exist.
_BranchDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_BranchDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_BranchDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"BranchDoesNotExistException"

-- | 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.
_BranchNameExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_BranchNameExistsException :: forall a. AsError a => Fold a ServiceError
_BranchNameExistsException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"BranchNameExistsException"

-- | 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.
_BranchNameIsTagNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_BranchNameIsTagNameException :: forall a. AsError a => Fold a ServiceError
_BranchNameIsTagNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"BranchNameIsTagNameException"

-- | A branch name is required, but was not specified.
_BranchNameRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_BranchNameRequiredException :: forall a. AsError a => Fold a ServiceError
_BranchNameRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"BranchNameRequiredException"

-- | 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.
_CannotDeleteApprovalRuleFromTemplateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CannotDeleteApprovalRuleFromTemplateException :: forall a. AsError a => Fold a ServiceError
_CannotDeleteApprovalRuleFromTemplateException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CannotDeleteApprovalRuleFromTemplateException"

-- | 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.
_CannotModifyApprovalRuleFromTemplateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CannotModifyApprovalRuleFromTemplateException :: forall a. AsError a => Fold a ServiceError
_CannotModifyApprovalRuleFromTemplateException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CannotModifyApprovalRuleFromTemplateException"

-- | 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.
_ClientRequestTokenRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ClientRequestTokenRequiredException :: forall a. AsError a => Fold a ServiceError
_ClientRequestTokenRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ClientRequestTokenRequiredException"

-- | The comment is empty. You must provide some content for a comment. The
-- content cannot be null.
_CommentContentRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommentContentRequiredException :: forall a. AsError a => Fold a ServiceError
_CommentContentRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommentContentRequiredException"

-- | The comment is too large. Comments are limited to 1,000 characters.
_CommentContentSizeLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommentContentSizeLimitExceededException :: forall a. AsError a => Fold a ServiceError
_CommentContentSizeLimitExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommentContentSizeLimitExceededException"

-- | This comment has already been deleted. You cannot edit or delete a
-- deleted comment.
_CommentDeletedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommentDeletedException :: forall a. AsError a => Fold a ServiceError
_CommentDeletedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommentDeletedException"

-- | No comment exists with the provided ID. Verify that you have used the
-- correct ID, and then try again.
_CommentDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommentDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_CommentDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommentDoesNotExistException"

-- | The comment ID is missing or null. A comment ID is required.
_CommentIdRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommentIdRequiredException :: forall a. AsError a => Fold a ServiceError
_CommentIdRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommentIdRequiredException"

-- | You cannot modify or delete this comment. Only comment authors can
-- modify or delete their comments.
_CommentNotCreatedByCallerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommentNotCreatedByCallerException :: forall a. AsError a => Fold a ServiceError
_CommentNotCreatedByCallerException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommentNotCreatedByCallerException"

-- | The specified commit does not exist or no commit was specified, and the
-- specified repository has no default branch.
_CommitDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommitDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_CommitDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommitDoesNotExistException"

-- | The specified commit ID does not exist.
_CommitIdDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommitIdDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_CommitIdDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommitIdDoesNotExistException"

-- | A commit ID was not specified.
_CommitIdRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommitIdRequiredException :: forall a. AsError a => Fold a ServiceError
_CommitIdRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommitIdRequiredException"

-- | 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.
_CommitIdsLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommitIdsLimitExceededException :: forall a. AsError a => Fold a ServiceError
_CommitIdsLimitExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommitIdsLimitExceededException"

-- | A list of commit IDs is required, but was either not specified or the
-- list was empty.
_CommitIdsListRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommitIdsListRequiredException :: forall a. AsError a => Fold a ServiceError
_CommitIdsListRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommitIdsListRequiredException"

-- | The commit message is too long. Provide a shorter string.
_CommitMessageLengthExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommitMessageLengthExceededException :: forall a. AsError a => Fold a ServiceError
_CommitMessageLengthExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommitMessageLengthExceededException"

-- | A commit was not specified.
_CommitRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CommitRequiredException :: forall a. AsError a => Fold a ServiceError
_CommitRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"CommitRequiredException"

-- | 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.
_ConcurrentReferenceUpdateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConcurrentReferenceUpdateException :: forall a. AsError a => Fold a ServiceError
_ConcurrentReferenceUpdateException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ConcurrentReferenceUpdateException"

-- | 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.
_DefaultBranchCannotBeDeletedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DefaultBranchCannotBeDeletedException :: forall a. AsError a => Fold a ServiceError
_DefaultBranchCannotBeDeletedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"DefaultBranchCannotBeDeletedException"

-- | 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.
_DirectoryNameConflictsWithFileNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_DirectoryNameConflictsWithFileNameException :: forall a. AsError a => Fold a ServiceError
_DirectoryNameConflictsWithFileNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"DirectoryNameConflictsWithFileNameException"

-- | An encryption integrity check failed.
_EncryptionIntegrityChecksFailedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EncryptionIntegrityChecksFailedException :: forall a. AsError a => Fold a ServiceError
_EncryptionIntegrityChecksFailedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"EncryptionIntegrityChecksFailedException"

-- | An encryption key could not be accessed.
_EncryptionKeyAccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EncryptionKeyAccessDeniedException :: forall a. AsError a => Fold a ServiceError
_EncryptionKeyAccessDeniedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"EncryptionKeyAccessDeniedException"

-- | The encryption key is disabled.
_EncryptionKeyDisabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EncryptionKeyDisabledException :: forall a. AsError a => Fold a ServiceError
_EncryptionKeyDisabledException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"EncryptionKeyDisabledException"

-- | No encryption key was found.
_EncryptionKeyNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EncryptionKeyNotFoundException :: forall a. AsError a => Fold a ServiceError
_EncryptionKeyNotFoundException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"EncryptionKeyNotFoundException"

-- | The encryption key is not available.
_EncryptionKeyUnavailableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_EncryptionKeyUnavailableException :: forall a. AsError a => Fold a ServiceError
_EncryptionKeyUnavailableException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"EncryptionKeyUnavailableException"

-- | 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.
_FileContentAndSourceFileSpecifiedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FileContentAndSourceFileSpecifiedException :: forall a. AsError a => Fold a ServiceError
_FileContentAndSourceFileSpecifiedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FileContentAndSourceFileSpecifiedException"

-- | The file cannot be added because it is empty. Empty files cannot be
-- added to the repository with this API.
_FileContentRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FileContentRequiredException :: forall a. AsError a => Fold a ServiceError
_FileContentRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FileContentRequiredException"

-- | 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.
_FileContentSizeLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FileContentSizeLimitExceededException :: forall a. AsError a => Fold a ServiceError
_FileContentSizeLimitExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FileContentSizeLimitExceededException"

-- | The specified file does not exist. Verify that you have used the correct
-- file name, full path, and extension.
_FileDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FileDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_FileDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FileDoesNotExistException"

-- | The commit cannot be created because no files have been specified as
-- added, updated, or changed (PutFile or DeleteFile) for the commit.
_FileEntryRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FileEntryRequiredException :: forall a. AsError a => Fold a ServiceError
_FileEntryRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FileEntryRequiredException"

-- | The commit cannot be created because no file mode has been specified. A
-- file mode is required to update mode permissions for a file.
_FileModeRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FileModeRequiredException :: forall a. AsError a => Fold a ServiceError
_FileModeRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FileModeRequiredException"

-- | 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.
_FileNameConflictsWithDirectoryNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FileNameConflictsWithDirectoryNameException :: forall a. AsError a => Fold a ServiceError
_FileNameConflictsWithDirectoryNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FileNameConflictsWithDirectoryNameException"

-- | 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.
_FilePathConflictsWithSubmodulePathException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FilePathConflictsWithSubmodulePathException :: forall a. AsError a => Fold a ServiceError
_FilePathConflictsWithSubmodulePathException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FilePathConflictsWithSubmodulePathException"

-- | The specified file exceeds the file size limit for AWS CodeCommit. For
-- more information about limits in AWS CodeCommit, see
-- <https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html AWS CodeCommit User Guide>.
_FileTooLargeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FileTooLargeException :: forall a. AsError a => Fold a ServiceError
_FileTooLargeException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FileTooLargeException"

-- | 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.
_FolderContentSizeLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FolderContentSizeLimitExceededException :: forall a. AsError a => Fold a ServiceError
_FolderContentSizeLimitExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FolderContentSizeLimitExceededException"

-- | The specified folder does not exist. Either the folder name is not
-- correct, or you did not enter the full path to the folder.
_FolderDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_FolderDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_FolderDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"FolderDoesNotExistException"

-- | 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.
_IdempotencyParameterMismatchException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_IdempotencyParameterMismatchException :: forall a. AsError a => Fold a ServiceError
_IdempotencyParameterMismatchException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"IdempotencyParameterMismatchException"

-- | 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.
_InvalidActorArnException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidActorArnException :: forall a. AsError a => Fold a ServiceError
_InvalidActorArnException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidActorArnException"

-- | The content for the approval rule is not valid.
_InvalidApprovalRuleContentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidApprovalRuleContentException :: forall a. AsError a => Fold a ServiceError
_InvalidApprovalRuleContentException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidApprovalRuleContentException"

-- | The name for the approval rule is not valid.
_InvalidApprovalRuleNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidApprovalRuleNameException :: forall a. AsError a => Fold a ServiceError
_InvalidApprovalRuleNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidApprovalRuleNameException"

-- | The content of the approval rule template is not valid.
_InvalidApprovalRuleTemplateContentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidApprovalRuleTemplateContentException :: forall a. AsError a => Fold a ServiceError
_InvalidApprovalRuleTemplateContentException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidApprovalRuleTemplateContentException"

-- | 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
-- <https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html AWS CodeCommit User Guide>.
_InvalidApprovalRuleTemplateDescriptionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidApprovalRuleTemplateDescriptionException :: forall a. AsError a => Fold a ServiceError
_InvalidApprovalRuleTemplateDescriptionException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidApprovalRuleTemplateDescriptionException"

-- | 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
-- <https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html AWS CodeCommit User Guide>.
_InvalidApprovalRuleTemplateNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidApprovalRuleTemplateNameException :: forall a. AsError a => Fold a ServiceError
_InvalidApprovalRuleTemplateNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidApprovalRuleTemplateNameException"

-- | The state for the approval is not valid. Valid values include APPROVE
-- and REVOKE.
_InvalidApprovalStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidApprovalStateException :: forall a. AsError a => Fold a ServiceError
_InvalidApprovalStateException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidApprovalStateException"

-- | 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.
_InvalidAuthorArnException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidAuthorArnException :: forall a. AsError a => Fold a ServiceError
_InvalidAuthorArnException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidAuthorArnException"

-- | The specified blob is not valid.
_InvalidBlobIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidBlobIdException :: forall a. AsError a => Fold a ServiceError
_InvalidBlobIdException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidBlobIdException"

-- | The specified reference name is not valid.
_InvalidBranchNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidBranchNameException :: forall a. AsError a => Fold a ServiceError
_InvalidBranchNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidBranchNameException"

-- | The client request token is not valid.
_InvalidClientRequestTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidClientRequestTokenException :: forall a. AsError a => Fold a ServiceError
_InvalidClientRequestTokenException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidClientRequestTokenException"

-- | The comment ID is not in a valid format. Make sure that you have
-- provided the full comment ID.
_InvalidCommentIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidCommentIdException :: forall a. AsError a => Fold a ServiceError
_InvalidCommentIdException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidCommentIdException"

-- | The specified commit is not valid.
_InvalidCommitException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidCommitException :: forall a. AsError a => Fold a ServiceError
_InvalidCommitException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidCommitException"

-- | The specified commit ID is not valid.
_InvalidCommitIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidCommitIdException :: forall a. AsError a => Fold a ServiceError
_InvalidCommitIdException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidCommitIdException"

-- | The specified conflict detail level is not valid.
_InvalidConflictDetailLevelException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidConflictDetailLevelException :: forall a. AsError a => Fold a ServiceError
_InvalidConflictDetailLevelException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidConflictDetailLevelException"

-- | The specified conflict resolution list is not valid.
_InvalidConflictResolutionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidConflictResolutionException :: forall a. AsError a => Fold a ServiceError
_InvalidConflictResolutionException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidConflictResolutionException"

-- | The specified conflict resolution strategy is not valid.
_InvalidConflictResolutionStrategyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidConflictResolutionStrategyException :: forall a. AsError a => Fold a ServiceError
_InvalidConflictResolutionStrategyException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidConflictResolutionStrategyException"

-- | The specified continuation token is not valid.
_InvalidContinuationTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidContinuationTokenException :: forall a. AsError a => Fold a ServiceError
_InvalidContinuationTokenException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidContinuationTokenException"

-- | The specified deletion parameter is not valid.
_InvalidDeletionParameterException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidDeletionParameterException :: forall a. AsError a => Fold a ServiceError
_InvalidDeletionParameterException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidDeletionParameterException"

-- | The pull request description is not valid. Descriptions cannot be more
-- than 1,000 characters.
_InvalidDescriptionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidDescriptionException :: forall a. AsError a => Fold a ServiceError
_InvalidDescriptionException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidDescriptionException"

-- | The destination commit specifier is not valid. You must provide a valid
-- branch name, tag, or full commit ID.
_InvalidDestinationCommitSpecifierException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidDestinationCommitSpecifierException :: forall a. AsError a => Fold a ServiceError
_InvalidDestinationCommitSpecifierException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidDestinationCommitSpecifierException"

-- | 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.
_InvalidEmailException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidEmailException :: forall a. AsError a => Fold a ServiceError
_InvalidEmailException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidEmailException"

-- | The location of the file is not valid. Make sure that you include the
-- file name and extension.
_InvalidFileLocationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidFileLocationException :: forall a. AsError a => Fold a ServiceError
_InvalidFileLocationException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidFileLocationException"

-- | The specified file mode permission is not valid. For a list of valid
-- file mode permissions, see PutFile.
_InvalidFileModeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidFileModeException :: forall a. AsError a => Fold a ServiceError
_InvalidFileModeException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidFileModeException"

-- | The position is not valid. Make sure that the line number exists in the
-- version of the file you want to comment on.
_InvalidFilePositionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidFilePositionException :: forall a. AsError a => Fold a ServiceError
_InvalidFilePositionException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidFilePositionException"

-- | The specified value for the number of conflict files to return is not
-- valid.
_InvalidMaxConflictFilesException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidMaxConflictFilesException :: forall a. AsError a => Fold a ServiceError
_InvalidMaxConflictFilesException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidMaxConflictFilesException"

-- | The specified value for the number of merge hunks to return is not
-- valid.
_InvalidMaxMergeHunksException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidMaxMergeHunksException :: forall a. AsError a => Fold a ServiceError
_InvalidMaxMergeHunksException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidMaxMergeHunksException"

-- | The specified number of maximum results is not valid.
_InvalidMaxResultsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidMaxResultsException :: forall a. AsError a => Fold a ServiceError
_InvalidMaxResultsException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidMaxResultsException"

-- | The specified merge option is not valid for this operation. Not all
-- merge strategies are supported for all operations.
_InvalidMergeOptionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidMergeOptionException :: forall a. AsError a => Fold a ServiceError
_InvalidMergeOptionException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidMergeOptionException"

-- | The specified sort order is not valid.
_InvalidOrderException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidOrderException :: forall a. AsError a => Fold a ServiceError
_InvalidOrderException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidOrderException"

-- | The override status is not valid. Valid statuses are OVERRIDE and
-- REVOKE.
_InvalidOverrideStatusException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidOverrideStatusException :: forall a. AsError a => Fold a ServiceError
_InvalidOverrideStatusException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidOverrideStatusException"

-- | 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.
_InvalidParentCommitIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidParentCommitIdException :: forall a. AsError a => Fold a ServiceError
_InvalidParentCommitIdException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidParentCommitIdException"

-- | The specified path is not valid.
_InvalidPathException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidPathException :: forall a. AsError a => Fold a ServiceError
_InvalidPathException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidPathException"

-- | The pull request event type is not valid.
_InvalidPullRequestEventTypeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidPullRequestEventTypeException :: forall a. AsError a => Fold a ServiceError
_InvalidPullRequestEventTypeException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidPullRequestEventTypeException"

-- | 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.
_InvalidPullRequestIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidPullRequestIdException :: forall a. AsError a => Fold a ServiceError
_InvalidPullRequestIdException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidPullRequestIdException"

-- | The pull request status is not valid. The only valid values are @OPEN@
-- and @CLOSED@.
_InvalidPullRequestStatusException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidPullRequestStatusException :: forall a. AsError a => Fold a ServiceError
_InvalidPullRequestStatusException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidPullRequestStatusException"

-- | The pull request status update is not valid. The only valid update is
-- from @OPEN@ to @CLOSED@.
_InvalidPullRequestStatusUpdateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidPullRequestStatusUpdateException :: forall a. AsError a => Fold a ServiceError
_InvalidPullRequestStatusUpdateException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidPullRequestStatusUpdateException"

-- | The Amazon Resource Name (ARN) of the user or identity is not valid.
_InvalidReactionUserArnException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidReactionUserArnException :: forall a. AsError a => Fold a ServiceError
_InvalidReactionUserArnException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidReactionUserArnException"

-- | The value of the reaction is not valid. For more information, see the
-- <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html AWS CodeCommit User Guide>.
_InvalidReactionValueException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidReactionValueException :: forall a. AsError a => Fold a ServiceError
_InvalidReactionValueException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidReactionValueException"

-- | 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
-- <https://git-scm.com/book/en/v2/Git-Internals-Git-References Git Internals - Git References>
-- or consult your Git documentation.
_InvalidReferenceNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidReferenceNameException :: forall a. AsError a => Fold a ServiceError
_InvalidReferenceNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidReferenceNameException"

-- | 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.
_InvalidRelativeFileVersionEnumException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRelativeFileVersionEnumException :: forall a. AsError a => Fold a ServiceError
_InvalidRelativeFileVersionEnumException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRelativeFileVersionEnumException"

-- | Automerge was specified for resolving the conflict, but the replacement
-- type is not valid or content is missing.
_InvalidReplacementContentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidReplacementContentException :: forall a. AsError a => Fold a ServiceError
_InvalidReplacementContentException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidReplacementContentException"

-- | Automerge was specified for resolving the conflict, but the specified
-- replacement type is not valid.
_InvalidReplacementTypeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidReplacementTypeException :: forall a. AsError a => Fold a ServiceError
_InvalidReplacementTypeException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidReplacementTypeException"

-- | The specified repository description is not valid.
_InvalidRepositoryDescriptionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRepositoryDescriptionException :: forall a. AsError a => Fold a ServiceError
_InvalidRepositoryDescriptionException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRepositoryDescriptionException"

-- | 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.
_InvalidRepositoryNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRepositoryNameException :: forall a. AsError a => Fold a ServiceError
_InvalidRepositoryNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRepositoryNameException"

-- | One or more branch names specified for the trigger is not valid.
_InvalidRepositoryTriggerBranchNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRepositoryTriggerBranchNameException :: forall a. AsError a => Fold a ServiceError
_InvalidRepositoryTriggerBranchNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRepositoryTriggerBranchNameException"

-- | The custom data provided for the trigger is not valid.
_InvalidRepositoryTriggerCustomDataException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRepositoryTriggerCustomDataException :: forall a. AsError a => Fold a ServiceError
_InvalidRepositoryTriggerCustomDataException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRepositoryTriggerCustomDataException"

-- | 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.
_InvalidRepositoryTriggerDestinationArnException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRepositoryTriggerDestinationArnException :: forall a. AsError a => Fold a ServiceError
_InvalidRepositoryTriggerDestinationArnException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRepositoryTriggerDestinationArnException"

-- | 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.
_InvalidRepositoryTriggerEventsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRepositoryTriggerEventsException :: forall a. AsError a => Fold a ServiceError
_InvalidRepositoryTriggerEventsException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRepositoryTriggerEventsException"

-- | The name of the trigger is not valid.
_InvalidRepositoryTriggerNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRepositoryTriggerNameException :: forall a. AsError a => Fold a ServiceError
_InvalidRepositoryTriggerNameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRepositoryTriggerNameException"

-- | 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.
_InvalidRepositoryTriggerRegionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRepositoryTriggerRegionException :: forall a. AsError a => Fold a ServiceError
_InvalidRepositoryTriggerRegionException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRepositoryTriggerRegionException"

-- | The value for the resource ARN is not valid. For more information about
-- resources in AWS CodeCommit, see
-- <https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats CodeCommit Resources and Operations>
-- in the AWS CodeCommit User Guide.
_InvalidResourceArnException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidResourceArnException :: forall a. AsError a => Fold a ServiceError
_InvalidResourceArnException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidResourceArnException"

-- | The revision ID is not valid. Use GetPullRequest to determine the value.
_InvalidRevisionIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRevisionIdException :: forall a. AsError a => Fold a ServiceError
_InvalidRevisionIdException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRevisionIdException"

-- | The SHA-256 hash signature for the rule content is not valid.
_InvalidRuleContentSha256Exception :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRuleContentSha256Exception :: forall a. AsError a => Fold a ServiceError
_InvalidRuleContentSha256Exception =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidRuleContentSha256Exception"

-- | The specified sort by value is not valid.
_InvalidSortByException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidSortByException :: forall a. AsError a => Fold a ServiceError
_InvalidSortByException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidSortByException"

-- | The source commit specifier is not valid. You must provide a valid
-- branch name, tag, or full commit ID.
_InvalidSourceCommitSpecifierException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidSourceCommitSpecifierException :: forall a. AsError a => Fold a ServiceError
_InvalidSourceCommitSpecifierException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidSourceCommitSpecifierException"

-- | The specified tag is not valid. Key names cannot be prefixed with aws:.
_InvalidSystemTagUsageException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidSystemTagUsageException :: forall a. AsError a => Fold a ServiceError
_InvalidSystemTagUsageException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidSystemTagUsageException"

-- | The list of tags is not valid.
_InvalidTagKeysListException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidTagKeysListException :: forall a. AsError a => Fold a ServiceError
_InvalidTagKeysListException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidTagKeysListException"

-- | The map of tags is not valid.
_InvalidTagsMapException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidTagsMapException :: forall a. AsError a => Fold a ServiceError
_InvalidTagsMapException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidTagsMapException"

-- | The specified target branch is not valid.
_InvalidTargetBranchException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidTargetBranchException :: forall a. AsError a => Fold a ServiceError
_InvalidTargetBranchException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidTargetBranchException"

-- | 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.
_InvalidTargetException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidTargetException :: forall a. AsError a => Fold a ServiceError
_InvalidTargetException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidTargetException"

-- | 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.
_InvalidTargetsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidTargetsException :: forall a. AsError a => Fold a ServiceError
_InvalidTargetsException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidTargetsException"

-- | The title of the pull request is not valid. Pull request titles cannot
-- exceed 100 characters in length.
_InvalidTitleException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidTitleException :: forall a. AsError a => Fold a ServiceError
_InvalidTitleException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"InvalidTitleException"

-- | The pull request cannot be merged automatically into the destination
-- branch. You must manually merge the branches and resolve any conflicts.
_ManualMergeRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ManualMergeRequiredException :: forall a. AsError a => Fold a ServiceError
_ManualMergeRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ManualMergeRequiredException"

-- | The number of branches for the trigger was exceeded.
_MaximumBranchesExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumBranchesExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumBranchesExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumBranchesExceededException"

-- | The number of allowed conflict resolution entries was exceeded.
_MaximumConflictResolutionEntriesExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumConflictResolutionEntriesExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumConflictResolutionEntriesExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumConflictResolutionEntriesExceededException"

-- | The number of files to load exceeds the allowed limit.
_MaximumFileContentToLoadExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumFileContentToLoadExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumFileContentToLoadExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumFileContentToLoadExceededException"

-- | 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.
_MaximumFileEntriesExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumFileEntriesExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumFileEntriesExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumFileEntriesExceededException"

-- | The number of items to compare between the source or destination
-- branches and the merge base has exceeded the maximum allowed.
_MaximumItemsToCompareExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumItemsToCompareExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumItemsToCompareExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumItemsToCompareExceededException"

-- | The number of approvals required for the approval rule exceeds the
-- maximum number allowed.
_MaximumNumberOfApprovalsExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumNumberOfApprovalsExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumNumberOfApprovalsExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumNumberOfApprovalsExceededException"

-- | 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.
_MaximumOpenPullRequestsExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumOpenPullRequestsExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumOpenPullRequestsExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumOpenPullRequestsExceededException"

-- | The maximum number of allowed repository names was exceeded. Currently,
-- this number is 100.
_MaximumRepositoryNamesExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumRepositoryNamesExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumRepositoryNamesExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumRepositoryNamesExceededException"

-- | The number of triggers allowed for the repository was exceeded.
_MaximumRepositoryTriggersExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumRepositoryTriggersExceededException :: forall a. AsError a => Fold a ServiceError
_MaximumRepositoryTriggersExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumRepositoryTriggersExceededException"

-- | 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.
_MaximumRuleTemplatesAssociatedWithRepositoryException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MaximumRuleTemplatesAssociatedWithRepositoryException :: forall a. AsError a => Fold a ServiceError
_MaximumRuleTemplatesAssociatedWithRepositoryException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MaximumRuleTemplatesAssociatedWithRepositoryException"

-- | A merge option or stategy is required, and none was provided.
_MergeOptionRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MergeOptionRequiredException :: forall a. AsError a => Fold a ServiceError
_MergeOptionRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MergeOptionRequiredException"

-- | More than one conflict resolution entries exists for the conflict. A
-- conflict can have only one conflict resolution entry.
_MultipleConflictResolutionEntriesException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MultipleConflictResolutionEntriesException :: forall a. AsError a => Fold a ServiceError
_MultipleConflictResolutionEntriesException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MultipleConflictResolutionEntriesException"

-- | 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.
_MultipleRepositoriesInPullRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MultipleRepositoriesInPullRequestException :: forall a. AsError a => Fold a ServiceError
_MultipleRepositoriesInPullRequestException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"MultipleRepositoriesInPullRequestException"

-- | The user name is not valid because it has exceeded the character limit
-- for author names.
_NameLengthExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_NameLengthExceededException :: forall a. AsError a => Fold a ServiceError
_NameLengthExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"NameLengthExceededException"

-- | 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.
_NoChangeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_NoChangeException :: forall a. AsError a => Fold a ServiceError
_NoChangeException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"NoChangeException"

-- | The maximum number of approval rule templates has been exceeded for this
-- AWS Region.
_NumberOfRuleTemplatesExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_NumberOfRuleTemplatesExceededException :: forall a. AsError a => Fold a ServiceError
_NumberOfRuleTemplatesExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"NumberOfRuleTemplatesExceededException"

-- | The approval rule cannot be added. The pull request has the maximum
-- number of approval rules associated with it.
_NumberOfRulesExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_NumberOfRulesExceededException :: forall a. AsError a => Fold a ServiceError
_NumberOfRulesExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"NumberOfRulesExceededException"

-- | The pull request has already had its approval rules set to override.
_OverrideAlreadySetException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_OverrideAlreadySetException :: forall a. AsError a => Fold a ServiceError
_OverrideAlreadySetException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"OverrideAlreadySetException"

-- | An override status is required, but no value was provided. Valid values
-- include OVERRIDE and REVOKE.
_OverrideStatusRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_OverrideStatusRequiredException :: forall a. AsError a => Fold a ServiceError
_OverrideStatusRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"OverrideStatusRequiredException"

-- | 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.
_ParentCommitDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ParentCommitDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_ParentCommitDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ParentCommitDoesNotExistException"

-- | 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.
_ParentCommitIdOutdatedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ParentCommitIdOutdatedException :: forall a. AsError a => Fold a ServiceError
_ParentCommitIdOutdatedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ParentCommitIdOutdatedException"

-- | 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).
_ParentCommitIdRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ParentCommitIdRequiredException :: forall a. AsError a => Fold a ServiceError
_ParentCommitIdRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ParentCommitIdRequiredException"

-- | The specified path does not exist.
_PathDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PathDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_PathDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PathDoesNotExistException"

-- | The folderPath for a location cannot be null.
_PathRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PathRequiredException :: forall a. AsError a => Fold a ServiceError
_PathRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PathRequiredException"

-- | The pull request status cannot be updated because it is already closed.
_PullRequestAlreadyClosedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PullRequestAlreadyClosedException :: forall a. AsError a => Fold a ServiceError
_PullRequestAlreadyClosedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PullRequestAlreadyClosedException"

-- | The pull request cannot be merged because one or more approval rules
-- applied to the pull request have conditions that have not been met.
_PullRequestApprovalRulesNotSatisfiedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PullRequestApprovalRulesNotSatisfiedException :: forall a. AsError a => Fold a ServiceError
_PullRequestApprovalRulesNotSatisfiedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PullRequestApprovalRulesNotSatisfiedException"

-- | 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.
_PullRequestCannotBeApprovedByAuthorException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PullRequestCannotBeApprovedByAuthorException :: forall a. AsError a => Fold a ServiceError
_PullRequestCannotBeApprovedByAuthorException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PullRequestCannotBeApprovedByAuthorException"

-- | 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.
_PullRequestDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PullRequestDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_PullRequestDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PullRequestDoesNotExistException"

-- | A pull request ID is required, but none was provided.
_PullRequestIdRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PullRequestIdRequiredException :: forall a. AsError a => Fold a ServiceError
_PullRequestIdRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PullRequestIdRequiredException"

-- | A pull request status is required, but none was provided.
_PullRequestStatusRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PullRequestStatusRequiredException :: forall a. AsError a => Fold a ServiceError
_PullRequestStatusRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PullRequestStatusRequiredException"

-- | The commit cannot be created because one or more files specified in the
-- commit reference both a file and a folder.
_PutFileEntryConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PutFileEntryConflictException :: forall a. AsError a => Fold a ServiceError
_PutFileEntryConflictException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"PutFileEntryConflictException"

-- | The number of reactions has been exceeded. Reactions are limited to one
-- reaction per user for each individual comment ID.
_ReactionLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ReactionLimitExceededException :: forall a. AsError a => Fold a ServiceError
_ReactionLimitExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ReactionLimitExceededException"

-- | A reaction value is required.
_ReactionValueRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ReactionValueRequiredException :: forall a. AsError a => Fold a ServiceError
_ReactionValueRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ReactionValueRequiredException"

-- | The specified reference does not exist. You must provide a full commit
-- ID.
_ReferenceDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ReferenceDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_ReferenceDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ReferenceDoesNotExistException"

-- | A reference name is required, but none was provided.
_ReferenceNameRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ReferenceNameRequiredException :: forall a. AsError a => Fold a ServiceError
_ReferenceNameRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ReferenceNameRequiredException"

-- | The specified reference is not a supported type.
_ReferenceTypeNotSupportedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ReferenceTypeNotSupportedException :: forall a. AsError a => Fold a ServiceError
_ReferenceTypeNotSupportedException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ReferenceTypeNotSupportedException"

-- | USE_NEW_CONTENT was specified, but no replacement content has been
-- provided.
_ReplacementContentRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ReplacementContentRequiredException :: forall a. AsError a => Fold a ServiceError
_ReplacementContentRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ReplacementContentRequiredException"

-- | A replacement type is required.
_ReplacementTypeRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ReplacementTypeRequiredException :: forall a. AsError a => Fold a ServiceError
_ReplacementTypeRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ReplacementTypeRequiredException"

-- | The specified repository does not exist.
_RepositoryDoesNotExistException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryDoesNotExistException :: forall a. AsError a => Fold a ServiceError
_RepositoryDoesNotExistException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryDoesNotExistException"

-- | A repository resource limit was exceeded.
_RepositoryLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryLimitExceededException :: forall a. AsError a => Fold a ServiceError
_RepositoryLimitExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryLimitExceededException"

-- | The specified repository name already exists.
_RepositoryNameExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryNameExistsException :: forall a. AsError a => Fold a ServiceError
_RepositoryNameExistsException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryNameExistsException"

-- | A repository name is required, but was not specified.
_RepositoryNameRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryNameRequiredException :: forall a. AsError a => Fold a ServiceError
_RepositoryNameRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryNameRequiredException"

-- | At least one repository name object is required, but was not specified.
_RepositoryNamesRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryNamesRequiredException :: forall a. AsError a => Fold a ServiceError
_RepositoryNamesRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryNamesRequiredException"

-- | 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.
_RepositoryNotAssociatedWithPullRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryNotAssociatedWithPullRequestException :: forall a. AsError a => Fold a ServiceError
_RepositoryNotAssociatedWithPullRequestException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryNotAssociatedWithPullRequestException"

-- | At least one branch name is required, but was not specified in the
-- trigger configuration.
_RepositoryTriggerBranchNameListRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryTriggerBranchNameListRequiredException :: forall a. AsError a => Fold a ServiceError
_RepositoryTriggerBranchNameListRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryTriggerBranchNameListRequiredException"

-- | A destination ARN for the target service for the trigger is required,
-- but was not specified.
_RepositoryTriggerDestinationArnRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryTriggerDestinationArnRequiredException :: forall a. AsError a => Fold a ServiceError
_RepositoryTriggerDestinationArnRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryTriggerDestinationArnRequiredException"

-- | At least one event for the trigger is required, but was not specified.
_RepositoryTriggerEventsListRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryTriggerEventsListRequiredException :: forall a. AsError a => Fold a ServiceError
_RepositoryTriggerEventsListRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryTriggerEventsListRequiredException"

-- | A name for the trigger is required, but was not specified.
_RepositoryTriggerNameRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryTriggerNameRequiredException :: forall a. AsError a => Fold a ServiceError
_RepositoryTriggerNameRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryTriggerNameRequiredException"

-- | The list of triggers for the repository is required, but was not
-- specified.
_RepositoryTriggersListRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RepositoryTriggersListRequiredException :: forall a. AsError a => Fold a ServiceError
_RepositoryTriggersListRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RepositoryTriggersListRequiredException"

-- | A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is
-- required. For a list of valid resources in AWS CodeCommit, see
-- <https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats CodeCommit Resources and Operations>
-- in the AWS CodeCommit User Guide.
_ResourceArnRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceArnRequiredException :: forall a. AsError a => Fold a ServiceError
_ResourceArnRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"ResourceArnRequiredException"

-- | The commit cannot be created because one of the changes specifies
-- copying or moving a .gitkeep file.
_RestrictedSourceFileException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RestrictedSourceFileException :: forall a. AsError a => Fold a ServiceError
_RestrictedSourceFileException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RestrictedSourceFileException"

-- | A revision ID is required, but was not provided.
_RevisionIdRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RevisionIdRequiredException :: forall a. AsError a => Fold a ServiceError
_RevisionIdRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RevisionIdRequiredException"

-- | The revision ID provided in the request does not match the current
-- revision ID. Use GetPullRequest to retrieve the current revision ID.
_RevisionNotCurrentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_RevisionNotCurrentException :: forall a. AsError a => Fold a ServiceError
_RevisionNotCurrentException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"RevisionNotCurrentException"

-- | 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.
_SameFileContentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SameFileContentException :: forall a. AsError a => Fold a ServiceError
_SameFileContentException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"SameFileContentException"

-- | 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.
_SamePathRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SamePathRequestException :: forall a. AsError a => Fold a ServiceError
_SamePathRequestException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"SamePathRequestException"

-- | The source branch and destination branch for the pull request are the
-- same. You must specify different branches for the source and
-- destination.
_SourceAndDestinationAreSameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SourceAndDestinationAreSameException :: forall a. AsError a => Fold a ServiceError
_SourceAndDestinationAreSameException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"SourceAndDestinationAreSameException"

-- | The commit cannot be created because no source files or file content
-- have been specified for the commit.
_SourceFileOrContentRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_SourceFileOrContentRequiredException :: forall a. AsError a => Fold a ServiceError
_SourceFileOrContentRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"SourceFileOrContentRequiredException"

-- | A list of tag keys is required. The list cannot be empty or null.
_TagKeysListRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TagKeysListRequiredException :: forall a. AsError a => Fold a ServiceError
_TagKeysListRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TagKeysListRequiredException"

-- | The tag policy is not valid.
_TagPolicyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TagPolicyException :: forall a. AsError a => Fold a ServiceError
_TagPolicyException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TagPolicyException"

-- | A map of tags is required.
_TagsMapRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TagsMapRequiredException :: forall a. AsError a => Fold a ServiceError
_TagsMapRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TagsMapRequiredException"

-- | 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.
_TargetRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TargetRequiredException :: forall a. AsError a => Fold a ServiceError
_TargetRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TargetRequiredException"

-- | An array of target objects is required. It cannot be empty or null.
_TargetsRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TargetsRequiredException :: forall a. AsError a => Fold a ServiceError
_TargetsRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TargetsRequiredException"

-- | 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.
_TipOfSourceReferenceIsDifferentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TipOfSourceReferenceIsDifferentException :: forall a. AsError a => Fold a ServiceError
_TipOfSourceReferenceIsDifferentException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TipOfSourceReferenceIsDifferentException"

-- | 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.
_TipsDivergenceExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TipsDivergenceExceededException :: forall a. AsError a => Fold a ServiceError
_TipsDivergenceExceededException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TipsDivergenceExceededException"

-- | A pull request title is required. It cannot be empty or null.
_TitleRequiredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TitleRequiredException :: forall a. AsError a => Fold a ServiceError
_TitleRequiredException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TitleRequiredException"

-- | The maximum number of tags for an AWS CodeCommit resource has been
-- exceeded.
_TooManyTagsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TooManyTagsException :: forall a. AsError a => Fold a ServiceError
_TooManyTagsException =
  forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
    Service
defaultService
    ErrorCode
"TooManyTagsException"