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