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 |
Synopsis
- data BranchInfo = BranchInfo' {}
- newBranchInfo :: BranchInfo
- branchInfo_commitId :: Lens' BranchInfo (Maybe Text)
- branchInfo_branchName :: Lens' BranchInfo (Maybe Text)
Documentation
data BranchInfo Source #
Returns information about a branch.
See: newBranchInfo
smart constructor.
Instances
newBranchInfo :: BranchInfo Source #
Create a value of BranchInfo
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:BranchInfo'
, branchInfo_commitId
- The ID of the last commit made to the branch.
$sel:branchName:BranchInfo'
, branchInfo_branchName
- The name of the branch.
branchInfo_commitId :: Lens' BranchInfo (Maybe Text) Source #
The ID of the last commit made to the branch.
branchInfo_branchName :: Lens' BranchInfo (Maybe Text) Source #
The name of the branch.