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 |
Sets or changes the default branch name for the specified repository.
Creating a Request
Creates a value of UpdateDefaultBranch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udbRepositoryName
- The name of the repository to set or change the default branch for.udbDefaultBranchName
- The name of the branch to set as the default.
data UpdateDefaultBranch Source #
Represents the input of an update default branch operation.
See: updateDefaultBranch
smart constructor.
Instances
Request Lenses
udbRepositoryName :: Lens' UpdateDefaultBranch Text Source #
The name of the repository to set or change the default branch for.
udbDefaultBranchName :: Lens' UpdateDefaultBranch Text Source #
The name of the branch to set as the default.
Destructuring the Response
updateDefaultBranchResponse :: UpdateDefaultBranchResponse Source #
Creates a value of UpdateDefaultBranchResponse
with the minimum fields required to make a request.
data UpdateDefaultBranchResponse Source #
See: updateDefaultBranchResponse
smart constructor.