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

Amazonka.CodeCommit.Types.BranchInfo

Description

 
Synopsis

Documentation

data BranchInfo Source #

Returns information about a branch.

See: newBranchInfo smart constructor.

Constructors

BranchInfo' 

Fields

Instances

Instances details
Eq BranchInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BranchInfo

Read BranchInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BranchInfo

Show BranchInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BranchInfo

Generic BranchInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BranchInfo

Associated Types

type Rep BranchInfo :: Type -> Type #

NFData BranchInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BranchInfo

Methods

rnf :: BranchInfo -> () #

Hashable BranchInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BranchInfo

FromJSON BranchInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BranchInfo

type Rep BranchInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BranchInfo

type Rep BranchInfo = D1 ('MetaData "BranchInfo" "Amazonka.CodeCommit.Types.BranchInfo" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "BranchInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "commitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "branchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.