| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeCommit.Types.PullRequestTarget
Description
Synopsis
- data PullRequestTarget = PullRequestTarget' {}
- newPullRequestTarget :: PullRequestTarget
- pullRequestTarget_destinationCommit :: Lens' PullRequestTarget (Maybe Text)
- pullRequestTarget_destinationReference :: Lens' PullRequestTarget (Maybe Text)
- pullRequestTarget_mergeBase :: Lens' PullRequestTarget (Maybe Text)
- pullRequestTarget_mergeMetadata :: Lens' PullRequestTarget (Maybe MergeMetadata)
- pullRequestTarget_repositoryName :: Lens' PullRequestTarget (Maybe Text)
- pullRequestTarget_sourceCommit :: Lens' PullRequestTarget (Maybe Text)
- pullRequestTarget_sourceReference :: Lens' PullRequestTarget (Maybe Text)
Documentation
data PullRequestTarget Source #
Returns information about a pull request target.
See: newPullRequestTarget smart constructor.
Constructors
| PullRequestTarget' | |
Fields
| |
Instances
newPullRequestTarget :: PullRequestTarget Source #
Create a value of PullRequestTarget with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationCommit:PullRequestTarget', pullRequestTarget_destinationCommit - 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.
$sel:destinationReference:PullRequestTarget', pullRequestTarget_destinationReference - The branch of the repository where the pull request changes are merged.
Also known as the destination branch.
$sel:mergeBase:PullRequestTarget', pullRequestTarget_mergeBase - The commit ID of the most recent commit that the source branch and the
destination branch have in common.
$sel:mergeMetadata:PullRequestTarget', pullRequestTarget_mergeMetadata - Returns metadata about the state of the merge, including whether the
merge has been made.
$sel:repositoryName:PullRequestTarget', pullRequestTarget_repositoryName - The name of the repository that contains the pull request source and
destination branches.
$sel:sourceCommit:PullRequestTarget', pullRequestTarget_sourceCommit - 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 changes to reflect the new tip of
the branch.
$sel:sourceReference:PullRequestTarget', pullRequestTarget_sourceReference - The branch of the repository that contains the changes for the pull
request. Also known as the source branch.
pullRequestTarget_destinationCommit :: Lens' PullRequestTarget (Maybe Text) Source #
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.
pullRequestTarget_destinationReference :: Lens' PullRequestTarget (Maybe Text) Source #
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
pullRequestTarget_mergeBase :: Lens' PullRequestTarget (Maybe Text) Source #
The commit ID of the most recent commit that the source branch and the destination branch have in common.
pullRequestTarget_mergeMetadata :: Lens' PullRequestTarget (Maybe MergeMetadata) Source #
Returns metadata about the state of the merge, including whether the merge has been made.
pullRequestTarget_repositoryName :: Lens' PullRequestTarget (Maybe Text) Source #
The name of the repository that contains the pull request source and destination branches.
pullRequestTarget_sourceCommit :: Lens' PullRequestTarget (Maybe Text) Source #
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 changes to reflect the new tip of the branch.
pullRequestTarget_sourceReference :: Lens' PullRequestTarget (Maybe Text) Source #
The branch of the repository that contains the changes for the pull request. Also known as the source branch.