| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CodeCommit.UpdateDefaultBranch
Description
Sets or changes the default branch name for the specified repository.
If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.
See: AWS API Reference for UpdateDefaultBranch.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> UpdateDefaultBranch |
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:
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.