amazonka-codecommit-1.3.5: Amazon CodeCommit SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeCommit.GetBranch

Contents

Description

Retrieves information about a repository branch, including its name and the last commit ID.

See: AWS API Reference for GetBranch.

Synopsis

Creating a Request

getBranch :: GetBranch Source

Creates a value of GetBranch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gbBranchName :: Lens' GetBranch (Maybe Text) Source

The name of the branch for which you want to retrieve information.

gbRepositoryName :: Lens' GetBranch (Maybe Text) Source

Undocumented member.

Destructuring the Response

getBranchResponse Source

Creates a value of GetBranchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses