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.MergeBranchesByFastForward

Description

Merges two branches using the fast-forward merge strategy.

Synopsis

Creating a Request

data MergeBranchesByFastForward Source #

See: newMergeBranchesByFastForward smart constructor.

Constructors

MergeBranchesByFastForward' 

Fields

  • targetBranch :: Maybe Text

    The branch where the merge is applied.

  • repositoryName :: Text

    The name of the repository where you want to merge two branches.

  • sourceCommitSpecifier :: Text

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

  • destinationCommitSpecifier :: Text

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

Instances

Instances details
Eq MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Read MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Show MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Generic MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Associated Types

type Rep MergeBranchesByFastForward :: Type -> Type #

NFData MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Hashable MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

ToJSON MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

AWSRequest MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

ToHeaders MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

ToPath MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

ToQuery MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

type Rep MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

type Rep MergeBranchesByFastForward = D1 ('MetaData "MergeBranchesByFastForward" "Amazonka.CodeCommit.MergeBranchesByFastForward" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "MergeBranchesByFastForward'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetBranch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "sourceCommitSpecifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destinationCommitSpecifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse MergeBranchesByFastForward Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

newMergeBranchesByFastForward Source #

Create a value of MergeBranchesByFastForward 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:targetBranch:MergeBranchesByFastForward', mergeBranchesByFastForward_targetBranch - The branch where the merge is applied.

$sel:repositoryName:MergeBranchesByFastForward', mergeBranchesByFastForward_repositoryName - The name of the repository where you want to merge two branches.

$sel:sourceCommitSpecifier:MergeBranchesByFastForward', mergeBranchesByFastForward_sourceCommitSpecifier - The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

$sel:destinationCommitSpecifier:MergeBranchesByFastForward', mergeBranchesByFastForward_destinationCommitSpecifier - The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

Request Lenses

mergeBranchesByFastForward_repositoryName :: Lens' MergeBranchesByFastForward Text Source #

The name of the repository where you want to merge two branches.

mergeBranchesByFastForward_sourceCommitSpecifier :: Lens' MergeBranchesByFastForward Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

mergeBranchesByFastForward_destinationCommitSpecifier :: Lens' MergeBranchesByFastForward Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

Destructuring the Response

data MergeBranchesByFastForwardResponse Source #

Constructors

MergeBranchesByFastForwardResponse' 

Fields

Instances

Instances details
Eq MergeBranchesByFastForwardResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Read MergeBranchesByFastForwardResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Show MergeBranchesByFastForwardResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Generic MergeBranchesByFastForwardResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

Associated Types

type Rep MergeBranchesByFastForwardResponse :: Type -> Type #

NFData MergeBranchesByFastForwardResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

type Rep MergeBranchesByFastForwardResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.MergeBranchesByFastForward

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

newMergeBranchesByFastForwardResponse Source #

Create a value of MergeBranchesByFastForwardResponse 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:MergeBranchesByFastForwardResponse', mergeBranchesByFastForwardResponse_commitId - The commit ID of the merge in the destination or target branch.

$sel:treeId:MergeBranchesByFastForwardResponse', mergeBranchesByFastForwardResponse_treeId - The tree ID of the merge in the destination or target branch.

$sel:httpStatus:MergeBranchesByFastForwardResponse', mergeBranchesByFastForwardResponse_httpStatus - The response's http status code.

Response Lenses

mergeBranchesByFastForwardResponse_commitId :: Lens' MergeBranchesByFastForwardResponse (Maybe Text) Source #

The commit ID of the merge in the destination or target branch.

mergeBranchesByFastForwardResponse_treeId :: Lens' MergeBranchesByFastForwardResponse (Maybe Text) Source #

The tree ID of the merge in the destination or target branch.