| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CodeCommit
Contents
- Service Configuration
- Errors
- InvalidRepositoryTriggerRegionException
- InvalidContinuationTokenException
- ManualMergeRequiredException
- TargetsRequiredException
- EncryptionKeyNotFoundException
- TipsDivergenceExceededException
- InvalidRepositoryTriggerBranchNameException
- PullRequestAlreadyClosedException
- InvalidRepositoryTriggerCustomDataException
- DirectoryNameConflictsWithFileNameException
- ReferenceDoesNotExistException
- ActorDoesNotExistException
- PullRequestIdRequiredException
- InvalidEmailException
- CommitMessageLengthExceededException
- BlobIdDoesNotExistException
- MaximumRepositoryNamesExceededException
- InvalidRepositoryDescriptionException
- RepositoryNameExistsException
- ReferenceNameRequiredException
- MaximumRepositoryTriggersExceededException
- InvalidBranchNameException
- BranchNameRequiredException
- MergeOptionRequiredException
- InvalidFileLocationException
- BeforeCommitIdAndAfterCommitIdAreSameException
- RepositoryTriggersListRequiredException
- IdempotencyParameterMismatchException
- EncryptionKeyUnavailableException
- InvalidRelativeFileVersionEnumException
- InvalidRepositoryTriggerDestinationARNException
- BlobIdRequiredException
- RepositoryNamesRequiredException
- InvalidActorARNException
- InvalidCommentIdException
- InvalidDescriptionException
- InvalidBlobIdException
- PullRequestDoesNotExistException
- InvalidOrderException
- BranchDoesNotExistException
- DefaultBranchCannotBeDeletedException
- InvalidPathException
- PathRequiredException
- RepositoryTriggerNameRequiredException
- InvalidFileModeException
- InvalidPullRequestStatusException
- ParentCommitIdRequiredException
- InvalidSourceCommitSpecifierException
- RepositoryDoesNotExistException
- MaximumBranchesExceededException
- InvalidTitleException
- CommentContentSizeLimitExceededException
- InvalidParentCommitIdException
- InvalidPullRequestEventTypeException
- FileContentRequiredException
- SourceAndDestinationAreSameException
- PathDoesNotExistException
- EncryptionIntegrityChecksFailedException
- ParentCommitIdOutdatedException
- RepositoryTriggerEventsListRequiredException
- CommentContentRequiredException
- InvalidTargetsException
- EncryptionKeyAccessDeniedException
- BranchNameExistsException
- InvalidCommitException
- TargetRequiredException
- InvalidDestinationCommitSpecifierException
- CommentDoesNotExistException
- ReferenceTypeNotSupportedException
- FileNameConflictsWithDirectoryNameException
- NameLengthExceededException
- InvalidSortByException
- EncryptionKeyDisabledException
- CommitRequiredException
- MaximumOpenPullRequestsExceededException
- InvalidTargetException
- InvalidPullRequestIdException
- CommentNotCreatedByCallerException
- InvalidPullRequestStatusUpdateException
- InvalidReferenceNameException
- SameFileContentException
- CommitIdRequiredException
- InvalidCommitIdException
- TipOfSourceReferenceIsDifferentException
- RepositoryTriggerDestinationARNRequiredException
- InvalidClientRequestTokenException
- CommitDoesNotExistException
- RepositoryTriggerBranchNameListRequiredException
- ClientRequestTokenRequiredException
- InvalidMergeOptionException
- CommentIdRequiredException
- InvalidMaxResultsException
- FileTooLargeException
- CommitIdDoesNotExistException
- MultipleRepositoriesInPullRequestException
- FileContentSizeLimitExceededException
- InvalidRepositoryTriggerNameException
- RepositoryNameRequiredException
- RepositoryLimitExceededException
- InvalidRepositoryTriggerEventsException
- BranchNameIsTagNameException
- InvalidRepositoryNameException
- InvalidAuthorARNException
- PullRequestStatusRequiredException
- RepositoryNotAssociatedWithPullRequestException
- TitleRequiredException
- InvalidFilePositionException
- CommentDeletedException
- ParentCommitDoesNotExistException
- AuthorDoesNotExistException
- Waiters
- Operations
- MergePullRequestByFastForward
- UpdateRepositoryName
- PostCommentForPullRequest
- GetCommit
- GetBranch
- GetDifferences (Paginated)
- GetPullRequest
- ListPullRequests (Paginated)
- GetComment
- DeleteBranch
- UpdateRepositoryDescription
- CreateBranch
- CreatePullRequest
- ListBranches (Paginated)
- UpdatePullRequestDescription
- ListRepositories (Paginated)
- CreateRepository
- UpdateDefaultBranch
- PostCommentReply
- GetRepository
- GetRepositoryTriggers
- PutFile
- GetCommentsForComparedCommit (Paginated)
- TestRepositoryTriggers
- UpdateComment
- PostCommentForComparedCommit
- UpdatePullRequestTitle
- GetBlob
- PutRepositoryTriggers
- GetMergeConflicts
- DeleteRepository
- DeleteCommentContent
- DescribePullRequestEvents (Paginated)
- BatchGetRepositories
- GetCommentsForPullRequest (Paginated)
- UpdatePullRequestStatus
- Types
- ChangeTypeEnum
- FileModeTypeEnum
- MergeOptionTypeEnum
- OrderEnum
- PullRequestEventType
- PullRequestStatusEnum
- RelativeFileVersionEnum
- RepositoryTriggerEventEnum
- SortByEnum
- BlobMetadata
- BranchInfo
- Comment
- CommentsForComparedCommit
- CommentsForPullRequest
- Commit
- Difference
- Location
- MergeMetadata
- PullRequest
- PullRequestEvent
- PullRequestMergedStateChangedEventMetadata
- PullRequestSourceReferenceUpdatedEventMetadata
- PullRequestStatusChangedEventMetadata
- PullRequestTarget
- RepositoryMetadata
- RepositoryNameIdPair
- RepositoryTrigger
- RepositoryTriggerExecutionFailure
- Target
- UserInfo
Description
AWS CodeCommit
This is the AWS CodeCommit API Reference . This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples.
You can use the AWS CodeCommit API to work with the following objects:
Repositories, by calling the following:
BatchGetRepositories, which returns information about one or more repositories associated with your AWS account.CreateRepository, which creates an AWS CodeCommit repository.DeleteRepository, which deletes an AWS CodeCommit repository.GetRepository, which returns information about a specified repository.ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account.UpdateRepositoryDescription, which sets or updates the description of the repository.UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use.
Branches, by calling the following:
CreateBranch, which creates a new branch in a specified repository.DeleteBranch, which deletes the specified branch in a repository unless it is the default branch.GetBranch, which returns information about a specified branch.ListBranches, which lists all branches for a specified repository.UpdateDefaultBranch, which changes the default branch for a repository.
Files, by calling the following:
PutFile, which adds or modifies a file in a specified repository and branch.
Information about committed code in a repository, by calling the following:
GetBlob, which returns the base-64 encoded content of an individual Git blob object within a repository.GetCommit, which returns information about a commit, including commit messages and author and committer information.GetDifferences, which returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference).
Pull requests, by calling the following:
CreatePullRequest, which creates a pull request in a specified repository.DescribePullRequestEvents, which returns information about one or more pull request events.GetCommentsForPullRequest, which returns information about comments on a specified pull request.GetMergeConflicts, which returns information about merge conflicts between the source and destination branch in a pull request.GetPullRequest, which returns information about a specified pull request.ListPullRequests, which lists all pull requests for a repository.MergePullRequestByFastForward, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the fast-forward merge option.PostCommentForPullRequest, which posts a comment to a pull request at the specified line, file, or request.UpdatePullRequestDescription, which updates the description of a pull request.UpdatePullRequestStatus, which updates the status of a pull request.UpdatePullRequestTitle, which updates the title of a pull request.
Information about comments in a repository, by calling the following:
DeleteCommentContent, which deletes the content of a comment on a commit in a repository.GetComment, which returns information about a comment on a commit.GetCommentsForComparedCommit, which returns information about comments on the comparison between two commit specifiers in a repository.PostCommentForComparedCommit, which creates a comment on the comparison between two commit specifiers in a repository.PostCommentReply, which creates a reply to a comment.UpdateComment, which updates the content of a comment on a commit in a repository.
Triggers, by calling the following:
GetRepositoryTriggers, which returns information about triggers configured for a repository.PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete triggers.TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger target.
For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide .
Synopsis
- codeCommit :: Service
- _InvalidRepositoryTriggerRegionException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _ManualMergeRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _TargetsRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _TipsDivergenceExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _PullRequestAlreadyClosedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerCustomDataException :: AsError a => Getting (First ServiceError) a ServiceError
- _DirectoryNameConflictsWithFileNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _ReferenceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _ActorDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _PullRequestIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidEmailException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitMessageLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _BlobIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _MaximumRepositoryNamesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ReferenceNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _MergeOptionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidFileLocationException :: AsError a => Getting (First ServiceError) a ServiceError
- _BeforeCommitIdAndAfterCommitIdAreSameException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _IdempotencyParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRelativeFileVersionEnumException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerDestinationARNException :: AsError a => Getting (First ServiceError) a ServiceError
- _BlobIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidActorARNException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCommentIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidBlobIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _PullRequestDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOrderException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _DefaultBranchCannotBeDeletedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPathException :: AsError a => Getting (First ServiceError) a ServiceError
- _PathRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggerNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidFileModeException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPullRequestStatusException :: AsError a => Getting (First ServiceError) a ServiceError
- _ParentCommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSourceCommitSpecifierException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _MaximumBranchesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTitleException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommentContentSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParentCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPullRequestEventTypeException :: AsError a => Getting (First ServiceError) a ServiceError
- _FileContentRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _SourceAndDestinationAreSameException :: AsError a => Getting (First ServiceError) a ServiceError
- _PathDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionIntegrityChecksFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ParentCommitIdOutdatedException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggerEventsListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommentContentRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTargetsException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCommitException :: AsError a => Getting (First ServiceError) a ServiceError
- _TargetRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDestinationCommitSpecifierException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _ReferenceTypeNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
- _FileNameConflictsWithDirectoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _NameLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _MaximumOpenPullRequestsExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTargetException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPullRequestIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommentNotCreatedByCallerException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPullRequestStatusUpdateException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidReferenceNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _SameFileContentException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _TipOfSourceReferenceIsDifferentException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggerDestinationARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidClientRequestTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggerBranchNameListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _ClientRequestTokenRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidMergeOptionException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidMaxResultsException :: AsError a => Getting (First ServiceError) a ServiceError
- _FileTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _MultipleRepositoriesInPullRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _FileContentSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerEventsException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchNameIsTagNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidAuthorARNException :: AsError a => Getting (First ServiceError) a ServiceError
- _PullRequestStatusRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNotAssociatedWithPullRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _TitleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidFilePositionException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommentDeletedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ParentCommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _AuthorDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.CodeCommit.MergePullRequestByFastForward
- module Network.AWS.CodeCommit.UpdateRepositoryName
- module Network.AWS.CodeCommit.PostCommentForPullRequest
- module Network.AWS.CodeCommit.GetCommit
- module Network.AWS.CodeCommit.GetBranch
- module Network.AWS.CodeCommit.GetDifferences
- module Network.AWS.CodeCommit.GetPullRequest
- module Network.AWS.CodeCommit.ListPullRequests
- module Network.AWS.CodeCommit.GetComment
- module Network.AWS.CodeCommit.DeleteBranch
- module Network.AWS.CodeCommit.UpdateRepositoryDescription
- module Network.AWS.CodeCommit.CreateBranch
- module Network.AWS.CodeCommit.CreatePullRequest
- module Network.AWS.CodeCommit.ListBranches
- module Network.AWS.CodeCommit.UpdatePullRequestDescription
- module Network.AWS.CodeCommit.ListRepositories
- module Network.AWS.CodeCommit.CreateRepository
- module Network.AWS.CodeCommit.UpdateDefaultBranch
- module Network.AWS.CodeCommit.PostCommentReply
- module Network.AWS.CodeCommit.GetRepository
- module Network.AWS.CodeCommit.GetRepositoryTriggers
- module Network.AWS.CodeCommit.PutFile
- module Network.AWS.CodeCommit.GetCommentsForComparedCommit
- module Network.AWS.CodeCommit.TestRepositoryTriggers
- module Network.AWS.CodeCommit.UpdateComment
- module Network.AWS.CodeCommit.PostCommentForComparedCommit
- module Network.AWS.CodeCommit.UpdatePullRequestTitle
- module Network.AWS.CodeCommit.GetBlob
- module Network.AWS.CodeCommit.PutRepositoryTriggers
- module Network.AWS.CodeCommit.GetMergeConflicts
- module Network.AWS.CodeCommit.DeleteRepository
- module Network.AWS.CodeCommit.DeleteCommentContent
- module Network.AWS.CodeCommit.DescribePullRequestEvents
- module Network.AWS.CodeCommit.BatchGetRepositories
- module Network.AWS.CodeCommit.GetCommentsForPullRequest
- module Network.AWS.CodeCommit.UpdatePullRequestStatus
- data ChangeTypeEnum
- data FileModeTypeEnum
- = Executable
- | Normal
- | Symlink
- data MergeOptionTypeEnum = FastForwardMerge
- data OrderEnum
- data PullRequestEventType
- data PullRequestStatusEnum
- data RelativeFileVersionEnum
- data RepositoryTriggerEventEnum
- data SortByEnum
- data BlobMetadata
- blobMetadata :: BlobMetadata
- bmPath :: Lens' BlobMetadata (Maybe Text)
- bmMode :: Lens' BlobMetadata (Maybe Text)
- bmBlobId :: Lens' BlobMetadata (Maybe Text)
- data BranchInfo
- branchInfo :: BranchInfo
- biCommitId :: Lens' BranchInfo (Maybe Text)
- biBranchName :: Lens' BranchInfo (Maybe Text)
- data Comment
- comment :: Comment
- cLastModifiedDate :: Lens' Comment (Maybe UTCTime)
- cAuthorARN :: Lens' Comment (Maybe Text)
- cContent :: Lens' Comment (Maybe Text)
- cCreationDate :: Lens' Comment (Maybe UTCTime)
- cDeleted :: Lens' Comment (Maybe Bool)
- cClientRequestToken :: Lens' Comment (Maybe Text)
- cCommentId :: Lens' Comment (Maybe Text)
- cInReplyTo :: Lens' Comment (Maybe Text)
- data CommentsForComparedCommit
- commentsForComparedCommit :: CommentsForComparedCommit
- cfccBeforeBlobId :: Lens' CommentsForComparedCommit (Maybe Text)
- cfccLocation :: Lens' CommentsForComparedCommit (Maybe Location)
- cfccAfterCommitId :: Lens' CommentsForComparedCommit (Maybe Text)
- cfccAfterBlobId :: Lens' CommentsForComparedCommit (Maybe Text)
- cfccBeforeCommitId :: Lens' CommentsForComparedCommit (Maybe Text)
- cfccRepositoryName :: Lens' CommentsForComparedCommit (Maybe Text)
- cfccComments :: Lens' CommentsForComparedCommit [Comment]
- data CommentsForPullRequest
- commentsForPullRequest :: CommentsForPullRequest
- cfprBeforeBlobId :: Lens' CommentsForPullRequest (Maybe Text)
- cfprLocation :: Lens' CommentsForPullRequest (Maybe Location)
- cfprAfterCommitId :: Lens' CommentsForPullRequest (Maybe Text)
- cfprPullRequestId :: Lens' CommentsForPullRequest (Maybe Text)
- cfprAfterBlobId :: Lens' CommentsForPullRequest (Maybe Text)
- cfprBeforeCommitId :: Lens' CommentsForPullRequest (Maybe Text)
- cfprRepositoryName :: Lens' CommentsForPullRequest (Maybe Text)
- cfprComments :: Lens' CommentsForPullRequest [Comment]
- data Commit
- commit :: Commit
- cCommitId :: Lens' Commit (Maybe Text)
- cCommitter :: Lens' Commit (Maybe UserInfo)
- cTreeId :: Lens' Commit (Maybe Text)
- cAdditionalData :: Lens' Commit (Maybe Text)
- cParents :: Lens' Commit [Text]
- cAuthor :: Lens' Commit (Maybe UserInfo)
- cMessage :: Lens' Commit (Maybe Text)
- data Difference
- difference :: Difference
- dAfterBlob :: Lens' Difference (Maybe BlobMetadata)
- dBeforeBlob :: Lens' Difference (Maybe BlobMetadata)
- dChangeType :: Lens' Difference (Maybe ChangeTypeEnum)
- data Location
- location :: Location
- lRelativeFileVersion :: Lens' Location (Maybe RelativeFileVersionEnum)
- lFilePath :: Lens' Location (Maybe Text)
- lFilePosition :: Lens' Location (Maybe Integer)
- data MergeMetadata
- mergeMetadata :: MergeMetadata
- mmMergedBy :: Lens' MergeMetadata (Maybe Text)
- mmIsMerged :: Lens' MergeMetadata (Maybe Bool)
- data PullRequest
- pullRequest :: PullRequest
- prAuthorARN :: Lens' PullRequest (Maybe Text)
- prPullRequestId :: Lens' PullRequest (Maybe Text)
- prCreationDate :: Lens' PullRequest (Maybe UTCTime)
- prPullRequestStatus :: Lens' PullRequest (Maybe PullRequestStatusEnum)
- prTitle :: Lens' PullRequest (Maybe Text)
- prClientRequestToken :: Lens' PullRequest (Maybe Text)
- prLastActivityDate :: Lens' PullRequest (Maybe UTCTime)
- prPullRequestTargets :: Lens' PullRequest [PullRequestTarget]
- prDescription :: Lens' PullRequest (Maybe Text)
- data PullRequestEvent
- pullRequestEvent :: PullRequestEvent
- prePullRequestMergedStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestMergedStateChangedEventMetadata)
- prePullRequestEventType :: Lens' PullRequestEvent (Maybe PullRequestEventType)
- prePullRequestStatusChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestStatusChangedEventMetadata)
- preActorARN :: Lens' PullRequestEvent (Maybe Text)
- prePullRequestId :: Lens' PullRequestEvent (Maybe Text)
- preEventDate :: Lens' PullRequestEvent (Maybe UTCTime)
- prePullRequestSourceReferenceUpdatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestSourceReferenceUpdatedEventMetadata)
- data PullRequestMergedStateChangedEventMetadata
- pullRequestMergedStateChangedEventMetadata :: PullRequestMergedStateChangedEventMetadata
- prmscemDestinationReference :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe Text)
- prmscemMergeMetadata :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe MergeMetadata)
- prmscemRepositoryName :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe Text)
- data PullRequestSourceReferenceUpdatedEventMetadata
- pullRequestSourceReferenceUpdatedEventMetadata :: PullRequestSourceReferenceUpdatedEventMetadata
- prsruemAfterCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
- prsruemBeforeCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
- prsruemRepositoryName :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
- data PullRequestStatusChangedEventMetadata
- pullRequestStatusChangedEventMetadata :: PullRequestStatusChangedEventMetadata
- prscemPullRequestStatus :: Lens' PullRequestStatusChangedEventMetadata (Maybe PullRequestStatusEnum)
- data PullRequestTarget
- pullRequestTarget :: PullRequestTarget
- prtSourceCommit :: Lens' PullRequestTarget (Maybe Text)
- prtDestinationReference :: Lens' PullRequestTarget (Maybe Text)
- prtMergeMetadata :: Lens' PullRequestTarget (Maybe MergeMetadata)
- prtDestinationCommit :: Lens' PullRequestTarget (Maybe Text)
- prtRepositoryName :: Lens' PullRequestTarget (Maybe Text)
- prtSourceReference :: Lens' PullRequestTarget (Maybe Text)
- data RepositoryMetadata
- repositoryMetadata :: RepositoryMetadata
- rmRepositoryDescription :: Lens' RepositoryMetadata (Maybe Text)
- rmLastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime)
- rmARN :: Lens' RepositoryMetadata (Maybe Text)
- rmCloneURLHTTP :: Lens' RepositoryMetadata (Maybe Text)
- rmAccountId :: Lens' RepositoryMetadata (Maybe Text)
- rmDefaultBranch :: Lens' RepositoryMetadata (Maybe Text)
- rmRepositoryId :: Lens' RepositoryMetadata (Maybe Text)
- rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text)
- rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime)
- rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text)
- data RepositoryNameIdPair
- repositoryNameIdPair :: RepositoryNameIdPair
- rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text)
- rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text)
- data RepositoryTrigger
- repositoryTrigger :: Text -> Text -> RepositoryTrigger
- rtBranches :: Lens' RepositoryTrigger [Text]
- rtCustomData :: Lens' RepositoryTrigger (Maybe Text)
- rtName :: Lens' RepositoryTrigger Text
- rtDestinationARN :: Lens' RepositoryTrigger Text
- rtEvents :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum]
- data RepositoryTriggerExecutionFailure
- repositoryTriggerExecutionFailure :: RepositoryTriggerExecutionFailure
- rtefFailureMessage :: Lens' RepositoryTriggerExecutionFailure (Maybe Text)
- rtefTrigger :: Lens' RepositoryTriggerExecutionFailure (Maybe Text)
- data Target
- target :: Text -> Text -> Target
- tDestinationReference :: Lens' Target (Maybe Text)
- tRepositoryName :: Lens' Target Text
- tSourceReference :: Lens' Target Text
- data UserInfo
- userInfo :: UserInfo
- uiEmail :: Lens' UserInfo (Maybe Text)
- uiDate :: Lens' UserInfo (Maybe Text)
- uiName :: Lens' UserInfo (Maybe Text)
Service Configuration
codeCommit :: Service #
API version 2015-04-13 of the Amazon CodeCommit SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by CodeCommit.
InvalidRepositoryTriggerRegionException
_InvalidRepositoryTriggerRegionException :: AsError a => Getting (First ServiceError) a ServiceError #
The region for the trigger target does not match the region for the repository. Triggers must be created in the same region as the target for the trigger.
InvalidContinuationTokenException
_InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified continuation token is not valid.
ManualMergeRequiredException
_ManualMergeRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.
TargetsRequiredException
_TargetsRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
An array of target objects is required. It cannot be empty or null.
EncryptionKeyNotFoundException
_EncryptionKeyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError #
No encryption key was found.
TipsDivergenceExceededException
_TipsDivergenceExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidRepositoryTriggerBranchNameException
_InvalidRepositoryTriggerBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError #
One or more branch names specified for the trigger is not valid.
PullRequestAlreadyClosedException
_PullRequestAlreadyClosedException :: AsError a => Getting (First ServiceError) a ServiceError #
The pull request status cannot be updated because it is already closed.
InvalidRepositoryTriggerCustomDataException
_InvalidRepositoryTriggerCustomDataException :: AsError a => Getting (First ServiceError) a ServiceError #
The custom data provided for the trigger is not valid.
DirectoryNameConflictsWithFileNameException
_DirectoryNameConflictsWithFileNameException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
ReferenceDoesNotExistException
_ReferenceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified reference does not exist. You must provide a full commit ID.
ActorDoesNotExistException
_ActorDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified Amazon Resource Name (ARN) does not exist in the AWS account.
PullRequestIdRequiredException
_PullRequestIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A pull request ID is required, but none was provided.
InvalidEmailException
_InvalidEmailException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
CommitMessageLengthExceededException
_CommitMessageLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
The commit message is too long. Provide a shorter string.
BlobIdDoesNotExistException
_BlobIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified blob does not exist.
MaximumRepositoryNamesExceededException
_MaximumRepositoryNamesExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
The maximum number of allowed repository names was exceeded. Currently, this number is 25.
InvalidRepositoryDescriptionException
_InvalidRepositoryDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified repository description is not valid.
RepositoryNameExistsException
_RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified repository name already exists.
ReferenceNameRequiredException
_ReferenceNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A reference name is required, but none was provided.
MaximumRepositoryTriggersExceededException
_MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
The number of triggers allowed for the repository was exceeded.
InvalidBranchNameException
_InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified reference name is not valid.
BranchNameRequiredException
_BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A branch name is required but was not specified.
MergeOptionRequiredException
_MergeOptionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A merge option or stategy is required, and none was provided.
InvalidFileLocationException
_InvalidFileLocationException :: AsError a => Getting (First ServiceError) a ServiceError #
The location of the file is not valid. Make sure that you include the extension of the file as well as the file name.
BeforeCommitIdAndAfterCommitIdAreSameException
_BeforeCommitIdAndAfterCommitIdAreSameException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
RepositoryTriggersListRequiredException
_RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
The list of triggers for the repository is required but was not specified.
IdempotencyParameterMismatchException
_IdempotencyParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError #
The client request token is not valid. Either the token is not in a valid format, or the token has been used in a previous request and cannot be re-used.
EncryptionKeyUnavailableException
_EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError #
The encryption key is not available.
InvalidRelativeFileVersionEnumException
_InvalidRelativeFileVersionEnumException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidRepositoryTriggerDestinationARNException
_InvalidRepositoryTriggerDestinationARNException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
BlobIdRequiredException
_BlobIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A blob ID is required but was not specified.
RepositoryNamesRequiredException
_RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A repository names object is required but was not specified.
InvalidActorARNException
_InvalidActorARNException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidCommentIdException
_InvalidCommentIdException :: AsError a => Getting (First ServiceError) a ServiceError #
The comment ID is not in a valid format. Make sure that you have provided the full comment ID.
InvalidDescriptionException
_InvalidDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError #
The pull request description is not valid. Descriptions are limited to 1,000 characters in length.
InvalidBlobIdException
_InvalidBlobIdException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified blob is not valid.
PullRequestDoesNotExistException
_PullRequestDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidOrderException
_InvalidOrderException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified sort order is not valid.
BranchDoesNotExistException
_BranchDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified branch does not exist.
DefaultBranchCannotBeDeletedException
_DefaultBranchCannotBeDeletedException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidPathException
_InvalidPathException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified path is not valid.
PathRequiredException
_PathRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
The filePath for a location cannot be empty or null.
RepositoryTriggerNameRequiredException
_RepositoryTriggerNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A name for the trigger is required but was not specified.
InvalidFileModeException
_InvalidFileModeException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified file mode permission is not valid. For a list of valid file mode permissions, see PutFile .
InvalidPullRequestStatusException
_InvalidPullRequestStatusException :: AsError a => Getting (First ServiceError) a ServiceError #
The pull request status is not valid. The only valid values are OPEN and CLOSED .
ParentCommitIdRequiredException
_ParentCommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
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).
InvalidSourceCommitSpecifierException
_InvalidSourceCommitSpecifierException :: AsError a => Getting (First ServiceError) a ServiceError #
The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.
RepositoryDoesNotExistException
_RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified repository does not exist.
MaximumBranchesExceededException
_MaximumBranchesExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
The number of branches for the trigger was exceeded.
InvalidTitleException
_InvalidTitleException :: AsError a => Getting (First ServiceError) a ServiceError #
The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.
CommentContentSizeLimitExceededException
_CommentContentSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
The comment is too large. Comments are limited to 1,000 characters.
InvalidParentCommitIdException
_InvalidParentCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidPullRequestEventTypeException
_InvalidPullRequestEventTypeException :: AsError a => Getting (First ServiceError) a ServiceError #
The pull request event type is not valid.
FileContentRequiredException
_FileContentRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.
SourceAndDestinationAreSameException
_SourceAndDestinationAreSameException :: AsError a => Getting (First ServiceError) a ServiceError #
The source branch and the destination branch for the pull request are the same. You must specify different branches for the source and destination.
PathDoesNotExistException
_PathDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified path does not exist.
EncryptionIntegrityChecksFailedException
_EncryptionIntegrityChecksFailedException :: AsError a => Getting (First ServiceError) a ServiceError #
An encryption integrity check failed.
ParentCommitIdOutdatedException
_ParentCommitIdOutdatedException :: AsError a => Getting (First ServiceError) a ServiceError #
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 .
RepositoryTriggerEventsListRequiredException
_RepositoryTriggerEventsListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
At least one event for the trigger is required but was not specified.
CommentContentRequiredException
_CommentContentRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
The comment is empty. You must provide some content for a comment. The content cannot be null.
InvalidTargetsException
_InvalidTargetsException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
EncryptionKeyAccessDeniedException
_EncryptionKeyAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError #
An encryption key could not be accessed.
BranchNameExistsException
_BranchNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified branch name already exists.
InvalidCommitException
_InvalidCommitException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified commit is not valid.
TargetRequiredException
_TargetRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidDestinationCommitSpecifierException
_InvalidDestinationCommitSpecifierException :: AsError a => Getting (First ServiceError) a ServiceError #
The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.
CommentDoesNotExistException
_CommentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
No comment exists with the provided ID. Verify that you have provided the correct ID, and then try again.
ReferenceTypeNotSupportedException
_ReferenceTypeNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified reference is not a supported type.
FileNameConflictsWithDirectoryNameException
_FileNameConflictsWithDirectoryNameException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
NameLengthExceededException
_NameLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
The file name is not valid because it has exceeded the character limit for file names. File names, including the path to the file, cannot exceed the character limit.
InvalidSortByException
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified sort by value is not valid.
EncryptionKeyDisabledException
_EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError #
The encryption key is disabled.
CommitRequiredException
_CommitRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A commit was not specified.
MaximumOpenPullRequestsExceededException
_MaximumOpenPullRequestsExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidTargetException
_InvalidTargetException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
InvalidPullRequestIdException
_InvalidPullRequestIdException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
CommentNotCreatedByCallerException
_CommentNotCreatedByCallerException :: AsError a => Getting (First ServiceError) a ServiceError #
You cannot modify or delete this comment. Only comment authors can modify or delete their comments.
InvalidPullRequestStatusUpdateException
_InvalidPullRequestStatusUpdateException :: AsError a => Getting (First ServiceError) a ServiceError #
The pull request status update is not valid. The only valid update is from OPEN to CLOSED .
InvalidReferenceNameException
_InvalidReferenceNameException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified reference name format is not valid. Reference names must conform to the Git references format, for example refsheadsmaster. For more information, see Git Internals - Git References or consult your Git documentation.
SameFileContentException
_SameFileContentException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
CommitIdRequiredException
_CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A commit ID was not specified.
InvalidCommitIdException
_InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified commit ID is not valid.
TipOfSourceReferenceIsDifferentException
_TipOfSourceReferenceIsDifferentException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
RepositoryTriggerDestinationARNRequiredException
_RepositoryTriggerDestinationARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A destination ARN for the target service for the trigger is required but was not specified.
InvalidClientRequestTokenException
_InvalidClientRequestTokenException :: AsError a => Getting (First ServiceError) a ServiceError #
The client request token is not valid.
CommitDoesNotExistException
_CommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified commit does not exist or no commit was specified, and the specified repository has no default branch.
RepositoryTriggerBranchNameListRequiredException
_RepositoryTriggerBranchNameListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
At least one branch name is required but was not specified in the trigger configuration.
ClientRequestTokenRequiredException
_ClientRequestTokenRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A client request token is required. A client request token is an unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.
InvalidMergeOptionException
_InvalidMergeOptionException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified merge option is not valid. The only valid value is FAST_FORWARD_MERGE.
CommentIdRequiredException
_CommentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
The comment ID is missing or null. A comment ID is required.
InvalidMaxResultsException
_InvalidMaxResultsException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified number of maximum results is not valid.
FileTooLargeException
_FileTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide .
CommitIdDoesNotExistException
_CommitIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified commit ID does not exist.
MultipleRepositoriesInPullRequestException
_MultipleRepositoriesInPullRequestException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
FileContentSizeLimitExceededException
_FileContentSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
The file cannot be added because it is too large. The maximum file size that can be added using PutFile is 6 MB. For files larger than 6 MB but smaller than 2 GB, add them using a Git client.
InvalidRepositoryTriggerNameException
_InvalidRepositoryTriggerNameException :: AsError a => Getting (First ServiceError) a ServiceError #
The name of the trigger is not valid.
RepositoryNameRequiredException
_RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A repository name is required but was not specified.
RepositoryLimitExceededException
_RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError #
A repository resource limit was exceeded.
InvalidRepositoryTriggerEventsException
_InvalidRepositoryTriggerEventsException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
BranchNameIsTagNameException
_BranchNameIsTagNameException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified branch name is not valid because it is a tag name. Type the name of a current branch in the repository. For a list of valid branch names, use ListBranches .
InvalidRepositoryNameException
_InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError #
At least one specified repository name is not valid.
InvalidAuthorARNException
_InvalidAuthorARNException :: AsError a => Getting (First ServiceError) a ServiceError #
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.
PullRequestStatusRequiredException
_PullRequestStatusRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A pull request status is required, but none was provided.
RepositoryNotAssociatedWithPullRequestException
_RepositoryNotAssociatedWithPullRequestException :: AsError a => Getting (First ServiceError) a ServiceError #
The repository does not contain any pull requests with that pull request ID. Check to make sure you have provided the correct repository name for the pull request.
TitleRequiredException
_TitleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #
A pull request title is required. It cannot be empty or null.
InvalidFilePositionException
_InvalidFilePositionException :: AsError a => Getting (First ServiceError) a ServiceError #
The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.
CommentDeletedException
_CommentDeletedException :: AsError a => Getting (First ServiceError) a ServiceError #
This comment has already been deleted. You cannot edit or delete a deleted comment.
ParentCommitDoesNotExistException
_ParentCommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The parent commit ID is not valid. The specified parent commit ID does not exist in the specified branch of the repository.
AuthorDoesNotExistException
_AuthorDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #
The specified Amazon Resource Name (ARN) does not exist in the AWS account.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait specification is fulfilled. The Wait specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
MergePullRequestByFastForward
UpdateRepositoryName
PostCommentForPullRequest
GetCommit
GetBranch
GetDifferences (Paginated)
GetPullRequest
ListPullRequests (Paginated)
GetComment
DeleteBranch
UpdateRepositoryDescription
CreateBranch
CreatePullRequest
ListBranches (Paginated)
UpdatePullRequestDescription
ListRepositories (Paginated)
CreateRepository
UpdateDefaultBranch
PostCommentReply
GetRepository
GetRepositoryTriggers
PutFile
GetCommentsForComparedCommit (Paginated)
TestRepositoryTriggers
UpdateComment
PostCommentForComparedCommit
UpdatePullRequestTitle
GetBlob
PutRepositoryTriggers
GetMergeConflicts
DeleteRepository
DeleteCommentContent
DescribePullRequestEvents (Paginated)
BatchGetRepositories
GetCommentsForPullRequest (Paginated)
UpdatePullRequestStatus
Types
ChangeTypeEnum
data ChangeTypeEnum #
Instances
FileModeTypeEnum
data FileModeTypeEnum #
Constructors
| Executable | |
| Normal | |
| Symlink |
Instances
MergeOptionTypeEnum
data MergeOptionTypeEnum #
Constructors
| FastForwardMerge |
Instances
OrderEnum
Constructors
| Ascending | |
| Descending |
Instances
PullRequestEventType
data PullRequestEventType #
Constructors
| PullRequestCreated | |
| PullRequestMergeStateChanged | |
| PullRequestSourceReferenceUpdated | |
| PullRequestStatusChanged |
Instances
PullRequestStatusEnum
data PullRequestStatusEnum #
Instances
RelativeFileVersionEnum
data RelativeFileVersionEnum #
Instances
RepositoryTriggerEventEnum
data RepositoryTriggerEventEnum #
Constructors
| All | |
| CreateReference | |
| DeleteReference | |
| UpdateReference |
Instances
SortByEnum
data SortByEnum #
Constructors
| LastModifiedDate | |
| RepositoryName |
Instances
BlobMetadata
data BlobMetadata #
Returns information about a specific Git blob object.
See: blobMetadata smart constructor.
Instances
blobMetadata :: BlobMetadata #
Creates a value of BlobMetadata with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bmPath- The path to the blob and any associated file name, if any.bmMode- The file mode permissions of the blob. File mode permission codes include: *100644indicates readwrite *100755indicates readwrite/execute *160000indicates a submodule *120000indicates a symlinkbmBlobId- The full ID of the blob.
bmPath :: Lens' BlobMetadata (Maybe Text) #
The path to the blob and any associated file name, if any.
bmMode :: Lens' BlobMetadata (Maybe Text) #
The file mode permissions of the blob. File mode permission codes include: * 100644 indicates readwrite * 100755 indicates readwrite/execute * 160000 indicates a submodule * 120000 indicates a symlink
BranchInfo
data BranchInfo #
Returns information about a branch.
See: branchInfo smart constructor.
Instances
Creates a value of BranchInfo with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
biCommitId- The ID of the last commit made to the branch.biBranchName- The name of the branch.
biCommitId :: Lens' BranchInfo (Maybe Text) #
The ID of the last commit made to the branch.
biBranchName :: Lens' BranchInfo (Maybe Text) #
The name of the branch.
Comment
Returns information about a specific comment.
See: comment smart constructor.
Instances
Creates a value of Comment with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cLastModifiedDate- The date and time the comment was most recently modified, in timestamp format.cAuthorARN- The Amazon Resource Name (ARN) of the person who posted the comment.cContent- The content of the comment.cCreationDate- The date and time the comment was created, in timestamp format.cDeleted- A Boolean value indicating whether the comment has been deleted.cClientRequestToken- A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.cCommentId- The system-generated comment ID.cInReplyTo- The ID of the comment for which this comment is a reply, if any.
cLastModifiedDate :: Lens' Comment (Maybe UTCTime) #
The date and time the comment was most recently modified, in timestamp format.
cAuthorARN :: Lens' Comment (Maybe Text) #
The Amazon Resource Name (ARN) of the person who posted the comment.
cCreationDate :: Lens' Comment (Maybe UTCTime) #
The date and time the comment was created, in timestamp format.
cDeleted :: Lens' Comment (Maybe Bool) #
A Boolean value indicating whether the comment has been deleted.
cClientRequestToken :: Lens' Comment (Maybe Text) #
A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.
cInReplyTo :: Lens' Comment (Maybe Text) #
The ID of the comment for which this comment is a reply, if any.
CommentsForComparedCommit
data CommentsForComparedCommit #
Returns information about comments on the comparison between two commits.
See: commentsForComparedCommit smart constructor.
Instances
commentsForComparedCommit :: CommentsForComparedCommit #
Creates a value of CommentsForComparedCommit with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfccBeforeBlobId- The full blob ID of the commit used to establish thebeforeof the comparison.cfccLocation- Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made isBEFOREorAFTER.cfccAfterCommitId- The full commit ID of the commit used to establish theafterof the comparison.cfccAfterBlobId- The full blob ID of the commit used to establish theafterof the comparison.cfccBeforeCommitId- The full commit ID of the commit used to establish thebeforeof the comparison.cfccRepositoryName- The name of the repository that contains the compared commits.cfccComments- An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
cfccBeforeBlobId :: Lens' CommentsForComparedCommit (Maybe Text) #
The full blob ID of the commit used to establish the before of the comparison.
cfccLocation :: Lens' CommentsForComparedCommit (Maybe Location) #
Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.
cfccAfterCommitId :: Lens' CommentsForComparedCommit (Maybe Text) #
The full commit ID of the commit used to establish the after of the comparison.
cfccAfterBlobId :: Lens' CommentsForComparedCommit (Maybe Text) #
The full blob ID of the commit used to establish the after of the comparison.
cfccBeforeCommitId :: Lens' CommentsForComparedCommit (Maybe Text) #
The full commit ID of the commit used to establish the before of the comparison.
cfccRepositoryName :: Lens' CommentsForComparedCommit (Maybe Text) #
The name of the repository that contains the compared commits.
cfccComments :: Lens' CommentsForComparedCommit [Comment] #
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
CommentsForPullRequest
data CommentsForPullRequest #
Returns information about comments on a pull request.
See: commentsForPullRequest smart constructor.
Instances
commentsForPullRequest :: CommentsForPullRequest #
Creates a value of CommentsForPullRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfprBeforeBlobId- The full blob ID of the file on which you want to comment on the destination commit.cfprLocation- Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made isBEFORE(destination branch) orAFTER(source branch).cfprAfterCommitId- he full commit ID of the commit that was the tip of the source branch at the time the comment was made.cfprPullRequestId- The system-generated ID of the pull request.cfprAfterBlobId- The full blob ID of the file on which you want to comment on the source commit.cfprBeforeCommitId- The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit will be superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.cfprRepositoryName- The name of the repository that contains the pull request.cfprComments- An array of comment objects. Each comment object contains information about a comment on the pull request.
cfprBeforeBlobId :: Lens' CommentsForPullRequest (Maybe Text) #
The full blob ID of the file on which you want to comment on the destination commit.
cfprLocation :: Lens' CommentsForPullRequest (Maybe Location) #
Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).
cfprAfterCommitId :: Lens' CommentsForPullRequest (Maybe Text) #
he full commit ID of the commit that was the tip of the source branch at the time the comment was made.
cfprPullRequestId :: Lens' CommentsForPullRequest (Maybe Text) #
The system-generated ID of the pull request.
cfprAfterBlobId :: Lens' CommentsForPullRequest (Maybe Text) #
The full blob ID of the file on which you want to comment on the source commit.
cfprBeforeCommitId :: Lens' CommentsForPullRequest (Maybe Text) #
The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit will be superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.
cfprRepositoryName :: Lens' CommentsForPullRequest (Maybe Text) #
The name of the repository that contains the pull request.
cfprComments :: Lens' CommentsForPullRequest [Comment] #
An array of comment objects. Each comment object contains information about a comment on the pull request.
Commit
Returns information about a specific commit.
See: commit smart constructor.
Instances
Creates a value of Commit with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cCommitId- The full SHA of the specified commit.cCommitter- Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.cTreeId- Tree information for the specified commit.cAdditionalData- Any additional data associated with the specified commit.cParents- A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.cAuthor- Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.cMessage- The commit message associated with the specified commit.
cCommitter :: Lens' Commit (Maybe UserInfo) #
Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.
cAdditionalData :: Lens' Commit (Maybe Text) #
Any additional data associated with the specified commit.
cParents :: Lens' Commit [Text] #
A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.
cAuthor :: Lens' Commit (Maybe UserInfo) #
Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.
Difference
data Difference #
Returns information about a set of differences for a commit specifier.
See: difference smart constructor.
Instances
Creates a value of Difference with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dAfterBlob- Information about anafterBlobdata type object, including the ID, the file mode permission code, and the path.dBeforeBlob- Information about abeforeBlobdata type object, including the ID, the file mode permission code, and the path.dChangeType- Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
dAfterBlob :: Lens' Difference (Maybe BlobMetadata) #
Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.
dBeforeBlob :: Lens' Difference (Maybe BlobMetadata) #
Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.
dChangeType :: Lens' Difference (Maybe ChangeTypeEnum) #
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
Location
Returns information about the location of a change or comment in the comparison between two commits or a pull request.
See: location smart constructor.
Instances
| Eq Location # | |
| Data Location # | |
Defined in Network.AWS.CodeCommit.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Location -> c Location # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Location # toConstr :: Location -> Constr # dataTypeOf :: Location -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Location) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Location) # gmapT :: (forall b. Data b => b -> b) -> Location -> Location # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r # gmapQ :: (forall d. Data d => d -> u) -> Location -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Location -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Location -> m Location # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location # | |
| Read Location # | |
| Show Location # | |
| Generic Location # | |
| Hashable Location # | |
Defined in Network.AWS.CodeCommit.Types.Product | |
| ToJSON Location # | |
Defined in Network.AWS.CodeCommit.Types.Product | |
| FromJSON Location # | |
| NFData Location # | |
Defined in Network.AWS.CodeCommit.Types.Product | |
| type Rep Location # | |
Defined in Network.AWS.CodeCommit.Types.Product type Rep Location = D1 (MetaData "Location" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.6.1-1ka4IX1RLr8HTUNT3HFkna" False) (C1 (MetaCons "Location'" PrefixI True) (S1 (MetaSel (Just "_lRelativeFileVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RelativeFileVersionEnum)) :*: (S1 (MetaSel (Just "_lFilePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lFilePosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))))) | |
Creates a value of Location with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lRelativeFileVersion- In a comparison of commits or a pull request, whether the change is in thebeforeorafterof that comparison.lFilePath- The name of the file being compared, including its extension and subdirectory, if any.lFilePosition- The position of a change within a compared file, in line number format.
lRelativeFileVersion :: Lens' Location (Maybe RelativeFileVersionEnum) #
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
lFilePath :: Lens' Location (Maybe Text) #
The name of the file being compared, including its extension and subdirectory, if any.
lFilePosition :: Lens' Location (Maybe Integer) #
The position of a change within a compared file, in line number format.
MergeMetadata
data MergeMetadata #
Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.
See: mergeMetadata smart constructor.
Instances
mergeMetadata :: MergeMetadata #
Creates a value of MergeMetadata with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mmMergedBy- The Amazon Resource Name (ARN) of the user who merged the branches.mmIsMerged- A Boolean value indicating whether the merge has been made.
mmMergedBy :: Lens' MergeMetadata (Maybe Text) #
The Amazon Resource Name (ARN) of the user who merged the branches.
mmIsMerged :: Lens' MergeMetadata (Maybe Bool) #
A Boolean value indicating whether the merge has been made.
PullRequest
data PullRequest #
Returns information about a pull request.
See: pullRequest smart constructor.
Instances
Creates a value of PullRequest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prAuthorARN- The Amazon Resource Name (ARN) of the user who created the pull request.prPullRequestId- The system-generated ID of the pull request.prCreationDate- The date and time the pull request was originally created, in timestamp format.prPullRequestStatus- The status of the pull request. Pull request status can only change fromOPENtoCLOSED.prTitle- The user-defined title of the pull request. This title is displayed in the list of pull requests to other users of the repository.prClientRequestToken- A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.prLastActivityDate- The day and time of the last user or system activity on the pull request, in timestamp format.prPullRequestTargets- The targets of the pull request, including the source branch and destination branch for the pull request.prDescription- The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.
prAuthorARN :: Lens' PullRequest (Maybe Text) #
The Amazon Resource Name (ARN) of the user who created the pull request.
prPullRequestId :: Lens' PullRequest (Maybe Text) #
The system-generated ID of the pull request.
prCreationDate :: Lens' PullRequest (Maybe UTCTime) #
The date and time the pull request was originally created, in timestamp format.
prPullRequestStatus :: Lens' PullRequest (Maybe PullRequestStatusEnum) #
The status of the pull request. Pull request status can only change from OPEN to CLOSED .
prTitle :: Lens' PullRequest (Maybe Text) #
The user-defined title of the pull request. This title is displayed in the list of pull requests to other users of the repository.
prClientRequestToken :: Lens' PullRequest (Maybe Text) #
A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.
prLastActivityDate :: Lens' PullRequest (Maybe UTCTime) #
The day and time of the last user or system activity on the pull request, in timestamp format.
prPullRequestTargets :: Lens' PullRequest [PullRequestTarget] #
The targets of the pull request, including the source branch and destination branch for the pull request.
prDescription :: Lens' PullRequest (Maybe Text) #
The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.
PullRequestEvent
data PullRequestEvent #
Returns information about a pull request event.
See: pullRequestEvent smart constructor.
Instances
pullRequestEvent :: PullRequestEvent #
Creates a value of PullRequestEvent with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prePullRequestMergedStateChangedEventMetadata- Information about the change in mergability state for the pull request event.prePullRequestEventType- The type of the pull request event, for example a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED).prePullRequestStatusChangedEventMetadata- Information about the change in status for the pull request event.preActorARN- The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with additional commits or changing the status of a pull request.prePullRequestId- The system-generated ID of the pull request.preEventDate- The day and time of the pull request event, in timestamp format.prePullRequestSourceReferenceUpdatedEventMetadata- Information about the updated source branch for the pull request event.
prePullRequestMergedStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestMergedStateChangedEventMetadata) #
Information about the change in mergability state for the pull request event.
prePullRequestEventType :: Lens' PullRequestEvent (Maybe PullRequestEventType) #
The type of the pull request event, for example a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED).
prePullRequestStatusChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestStatusChangedEventMetadata) #
Information about the change in status for the pull request event.
preActorARN :: Lens' PullRequestEvent (Maybe Text) #
The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with additional commits or changing the status of a pull request.
prePullRequestId :: Lens' PullRequestEvent (Maybe Text) #
The system-generated ID of the pull request.
preEventDate :: Lens' PullRequestEvent (Maybe UTCTime) #
The day and time of the pull request event, in timestamp format.
prePullRequestSourceReferenceUpdatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestSourceReferenceUpdatedEventMetadata) #
Information about the updated source branch for the pull request event.
PullRequestMergedStateChangedEventMetadata
data PullRequestMergedStateChangedEventMetadata #
Returns information about the change in the merge state for a pull request event.
See: pullRequestMergedStateChangedEventMetadata smart constructor.
Instances
pullRequestMergedStateChangedEventMetadata :: PullRequestMergedStateChangedEventMetadata #
Creates a value of PullRequestMergedStateChangedEventMetadata with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prmscemDestinationReference- The name of the branch that the pull request will be merged into.prmscemMergeMetadata- Information about the merge state change event.prmscemRepositoryName- The name of the repository where the pull request was created.
prmscemDestinationReference :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe Text) #
The name of the branch that the pull request will be merged into.
prmscemMergeMetadata :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe MergeMetadata) #
Information about the merge state change event.
prmscemRepositoryName :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe Text) #
The name of the repository where the pull request was created.
PullRequestSourceReferenceUpdatedEventMetadata
data PullRequestSourceReferenceUpdatedEventMetadata #
Information about an update to the source branch of a pull request.
See: pullRequestSourceReferenceUpdatedEventMetadata smart constructor.
Instances
pullRequestSourceReferenceUpdatedEventMetadata :: PullRequestSourceReferenceUpdatedEventMetadata #
Creates a value of PullRequestSourceReferenceUpdatedEventMetadata with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prsruemAfterCommitId- The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.prsruemBeforeCommitId- The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.prsruemRepositoryName- The name of the repository where the pull request was updated.
prsruemAfterCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) #
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
prsruemBeforeCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) #
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
prsruemRepositoryName :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) #
The name of the repository where the pull request was updated.
PullRequestStatusChangedEventMetadata
data PullRequestStatusChangedEventMetadata #
Information about a change to the status of a pull request.
See: pullRequestStatusChangedEventMetadata smart constructor.
Instances
pullRequestStatusChangedEventMetadata :: PullRequestStatusChangedEventMetadata #
Creates a value of PullRequestStatusChangedEventMetadata with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prscemPullRequestStatus- The changed status of the pull request.
prscemPullRequestStatus :: Lens' PullRequestStatusChangedEventMetadata (Maybe PullRequestStatusEnum) #
The changed status of the pull request.
PullRequestTarget
data PullRequestTarget #
Returns information about a pull request target.
See: pullRequestTarget smart constructor.
Instances
pullRequestTarget :: PullRequestTarget #
Creates a value of PullRequestTarget with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prtSourceCommit- The full commit ID of the tip of the source branch used to create the pull request. If the pull request branch is updated by a push while the pull request is open, the commit ID will change to reflect the new tip of the branch.prtDestinationReference- The branch of the repository where the pull request changes will be merged into. Also known as the destination branch.prtMergeMetadata- Returns metadata about the state of the merge, including whether the merge has been made.prtDestinationCommit- The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged.prtRepositoryName- The name of the repository that contains the pull request source and destination branches.prtSourceReference- The branch of the repository that contains the changes for the pull request. Also known as the source branch.
prtSourceCommit :: Lens' PullRequestTarget (Maybe Text) #
The full commit ID of the tip of the source branch used to create the pull request. If the pull request branch is updated by a push while the pull request is open, the commit ID will change to reflect the new tip of the branch.
prtDestinationReference :: Lens' PullRequestTarget (Maybe Text) #
The branch of the repository where the pull request changes will be merged into. Also known as the destination branch.
prtMergeMetadata :: Lens' PullRequestTarget (Maybe MergeMetadata) #
Returns metadata about the state of the merge, including whether the merge has been made.
prtDestinationCommit :: Lens' PullRequestTarget (Maybe Text) #
The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged.
prtRepositoryName :: Lens' PullRequestTarget (Maybe Text) #
The name of the repository that contains the pull request source and destination branches.
prtSourceReference :: Lens' PullRequestTarget (Maybe Text) #
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
RepositoryMetadata
data RepositoryMetadata #
Information about a repository.
See: repositoryMetadata smart constructor.
Instances
repositoryMetadata :: RepositoryMetadata #
Creates a value of RepositoryMetadata with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rmRepositoryDescription- A comment or description about the repository.rmLastModifiedDate- The date and time the repository was last modified, in timestamp format.rmARN- The Amazon Resource Name (ARN) of the repository.rmCloneURLHTTP- The URL to use for cloning the repository over HTTPS.rmAccountId- The ID of the AWS account associated with the repository.rmDefaultBranch- The repository's default branch name.rmRepositoryId- The ID of the repository.rmRepositoryName- The repository's name.rmCreationDate- The date and time the repository was created, in timestamp format.rmCloneURLSSH- The URL to use for cloning the repository over SSH.
rmRepositoryDescription :: Lens' RepositoryMetadata (Maybe Text) #
A comment or description about the repository.
rmLastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime) #
The date and time the repository was last modified, in timestamp format.
rmCloneURLHTTP :: Lens' RepositoryMetadata (Maybe Text) #
The URL to use for cloning the repository over HTTPS.
rmAccountId :: Lens' RepositoryMetadata (Maybe Text) #
The ID of the AWS account associated with the repository.
rmDefaultBranch :: Lens' RepositoryMetadata (Maybe Text) #
The repository's default branch name.
rmRepositoryId :: Lens' RepositoryMetadata (Maybe Text) #
The ID of the repository.
rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text) #
The repository's name.
rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime) #
The date and time the repository was created, in timestamp format.
rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text) #
The URL to use for cloning the repository over SSH.
RepositoryNameIdPair
data RepositoryNameIdPair #
Information about a repository name and ID.
See: repositoryNameIdPair smart constructor.
Instances
repositoryNameIdPair :: RepositoryNameIdPair #
Creates a value of RepositoryNameIdPair with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rnipRepositoryId- The ID associated with the repository.rnipRepositoryName- The name associated with the repository.
rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text) #
The ID associated with the repository.
rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text) #
The name associated with the repository.
RepositoryTrigger
data RepositoryTrigger #
Information about a trigger for a repository.
See: repositoryTrigger smart constructor.
Instances
Arguments
| :: Text | |
| -> Text | |
| -> RepositoryTrigger |
Creates a value of RepositoryTrigger with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtBranches- The branches that will be included in the trigger configuration. If you specify an empty array, the trigger will apply to all branches.rtCustomData- Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.rtName- The name of the trigger.rtDestinationARN- The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).rtEvents- The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS).
rtBranches :: Lens' RepositoryTrigger [Text] #
The branches that will be included in the trigger configuration. If you specify an empty array, the trigger will apply to all branches.
rtCustomData :: Lens' RepositoryTrigger (Maybe Text) #
Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
rtName :: Lens' RepositoryTrigger Text #
The name of the trigger.
rtDestinationARN :: Lens' RepositoryTrigger Text #
The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
rtEvents :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum] #
The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS).
RepositoryTriggerExecutionFailure
data RepositoryTriggerExecutionFailure #
A trigger failed to run.
See: repositoryTriggerExecutionFailure smart constructor.
Instances
repositoryTriggerExecutionFailure :: RepositoryTriggerExecutionFailure #
Creates a value of RepositoryTriggerExecutionFailure with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtefFailureMessage- Additional message information about the trigger that did not run.rtefTrigger- The name of the trigger that did not run.
rtefFailureMessage :: Lens' RepositoryTriggerExecutionFailure (Maybe Text) #
Additional message information about the trigger that did not run.
rtefTrigger :: Lens' RepositoryTriggerExecutionFailure (Maybe Text) #
The name of the trigger that did not run.
Target
Returns information about a target for a pull request.
See: target smart constructor.
Instances
| Eq Target # | |
| Data Target # | |
Defined in Network.AWS.CodeCommit.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Target -> c Target # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Target # toConstr :: Target -> Constr # dataTypeOf :: Target -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Target) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Target) # gmapT :: (forall b. Data b => b -> b) -> Target -> Target # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Target -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Target -> r # gmapQ :: (forall d. Data d => d -> u) -> Target -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Target -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Target -> m Target # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Target -> m Target # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Target -> m Target # | |
| Read Target # | |
| Show Target # | |
| Generic Target # | |
| Hashable Target # | |
Defined in Network.AWS.CodeCommit.Types.Product | |
| ToJSON Target # | |
Defined in Network.AWS.CodeCommit.Types.Product | |
| NFData Target # | |
Defined in Network.AWS.CodeCommit.Types.Product | |
| type Rep Target # | |
Defined in Network.AWS.CodeCommit.Types.Product type Rep Target = D1 (MetaData "Target" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.6.1-1ka4IX1RLr8HTUNT3HFkna" False) (C1 (MetaCons "Target'" PrefixI True) (S1 (MetaSel (Just "_tDestinationReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tSourceReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) | |
Creates a value of Target with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tDestinationReference- The branch of the repository where the pull request changes will be merged into. Also known as the destination branch.tRepositoryName- The name of the repository that contains the pull request.tSourceReference- The branch of the repository that contains the changes for the pull request. Also known as the source branch.
tDestinationReference :: Lens' Target (Maybe Text) #
The branch of the repository where the pull request changes will be merged into. Also known as the destination branch.
tRepositoryName :: Lens' Target Text #
The name of the repository that contains the pull request.
tSourceReference :: Lens' Target Text #
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
UserInfo
Information about the user who made a specified commit.
See: userInfo smart constructor.
Instances
| Eq UserInfo # | |
| Data UserInfo # | |
Defined in Network.AWS.CodeCommit.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserInfo -> c UserInfo # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserInfo # toConstr :: UserInfo -> Constr # dataTypeOf :: UserInfo -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserInfo) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserInfo) # gmapT :: (forall b. Data b => b -> b) -> UserInfo -> UserInfo # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserInfo -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserInfo -> r # gmapQ :: (forall d. Data d => d -> u) -> UserInfo -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> UserInfo -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserInfo -> m UserInfo # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserInfo -> m UserInfo # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserInfo -> m UserInfo # | |
| Read UserInfo # | |
| Show UserInfo # | |
| Generic UserInfo # | |
| Hashable UserInfo # | |
Defined in Network.AWS.CodeCommit.Types.Product | |
| FromJSON UserInfo # | |
| NFData UserInfo # | |
Defined in Network.AWS.CodeCommit.Types.Product | |
| type Rep UserInfo # | |
Defined in Network.AWS.CodeCommit.Types.Product type Rep UserInfo = D1 (MetaData "UserInfo" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.6.1-1ka4IX1RLr8HTUNT3HFkna" False) (C1 (MetaCons "UserInfo'" PrefixI True) (S1 (MetaSel (Just "_uiEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uiDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) | |
Creates a value of UserInfo with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uiEmail :: Lens' UserInfo (Maybe Text) #
The email address associated with the user who made the commit, if any.