Copyright | (c) 2013-2021 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 |
Merges two branches using the fast-forward merge strategy.
Synopsis
- data MergeBranchesByFastForward = MergeBranchesByFastForward' {}
- newMergeBranchesByFastForward :: Text -> Text -> Text -> MergeBranchesByFastForward
- mergeBranchesByFastForward_targetBranch :: Lens' MergeBranchesByFastForward (Maybe Text)
- mergeBranchesByFastForward_repositoryName :: Lens' MergeBranchesByFastForward Text
- mergeBranchesByFastForward_sourceCommitSpecifier :: Lens' MergeBranchesByFastForward Text
- mergeBranchesByFastForward_destinationCommitSpecifier :: Lens' MergeBranchesByFastForward Text
- data MergeBranchesByFastForwardResponse = MergeBranchesByFastForwardResponse' {}
- newMergeBranchesByFastForwardResponse :: Int -> MergeBranchesByFastForwardResponse
- mergeBranchesByFastForwardResponse_commitId :: Lens' MergeBranchesByFastForwardResponse (Maybe Text)
- mergeBranchesByFastForwardResponse_treeId :: Lens' MergeBranchesByFastForwardResponse (Maybe Text)
- mergeBranchesByFastForwardResponse_httpStatus :: Lens' MergeBranchesByFastForwardResponse Int
Creating a Request
data MergeBranchesByFastForward Source #
See: newMergeBranchesByFastForward
smart constructor.
MergeBranchesByFastForward' | |
|
Instances
newMergeBranchesByFastForward Source #
:: Text | |
-> Text | |
-> Text | |
-> MergeBranchesByFastForward |
Create a value of MergeBranchesByFastForward
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:targetBranch:MergeBranchesByFastForward'
, mergeBranchesByFastForward_targetBranch
- The branch where the merge is applied.
$sel:repositoryName:MergeBranchesByFastForward'
, mergeBranchesByFastForward_repositoryName
- The name of the repository where you want to merge two branches.
$sel:sourceCommitSpecifier:MergeBranchesByFastForward'
, mergeBranchesByFastForward_sourceCommitSpecifier
- The branch, tag, HEAD, or other fully qualified reference used to
identify a commit (for example, a branch name or a full commit ID).
$sel:destinationCommitSpecifier:MergeBranchesByFastForward'
, mergeBranchesByFastForward_destinationCommitSpecifier
- The branch, tag, HEAD, or other fully qualified reference used to
identify a commit (for example, a branch name or a full commit ID).
Request Lenses
mergeBranchesByFastForward_targetBranch :: Lens' MergeBranchesByFastForward (Maybe Text) Source #
The branch where the merge is applied.
mergeBranchesByFastForward_repositoryName :: Lens' MergeBranchesByFastForward Text Source #
The name of the repository where you want to merge two branches.
mergeBranchesByFastForward_sourceCommitSpecifier :: Lens' MergeBranchesByFastForward Text Source #
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
mergeBranchesByFastForward_destinationCommitSpecifier :: Lens' MergeBranchesByFastForward Text Source #
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
Destructuring the Response
data MergeBranchesByFastForwardResponse Source #
See: newMergeBranchesByFastForwardResponse
smart constructor.
Instances
newMergeBranchesByFastForwardResponse Source #
Create a value of MergeBranchesByFastForwardResponse
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:commitId:MergeBranchesByFastForwardResponse'
, mergeBranchesByFastForwardResponse_commitId
- The commit ID of the merge in the destination or target branch.
$sel:treeId:MergeBranchesByFastForwardResponse'
, mergeBranchesByFastForwardResponse_treeId
- The tree ID of the merge in the destination or target branch.
$sel:httpStatus:MergeBranchesByFastForwardResponse'
, mergeBranchesByFastForwardResponse_httpStatus
- The response's http status code.
Response Lenses
mergeBranchesByFastForwardResponse_commitId :: Lens' MergeBranchesByFastForwardResponse (Maybe Text) Source #
The commit ID of the merge in the destination or target branch.
mergeBranchesByFastForwardResponse_treeId :: Lens' MergeBranchesByFastForwardResponse (Maybe Text) Source #
The tree ID of the merge in the destination or target branch.
mergeBranchesByFastForwardResponse_httpStatus :: Lens' MergeBranchesByFastForwardResponse Int Source #
The response's http status code.