amazonka-codecommit-1.6.1: Amazon CodeCommit SDK.

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

Network.AWS.CodeCommit.GetMergeConflicts

Contents

Description

Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.

Synopsis

Creating a Request

getMergeConflicts Source #

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

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

  • gmcRepositoryName - The name of the repository where the pull request was created.
  • gmcDestinationCommitSpecifier - The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.
  • gmcSourceCommitSpecifier - The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.
  • gmcMergeOption - The merge option or strategy you want to use to merge the code. The only valid value is FAST_FORWARD_MERGE.

data GetMergeConflicts Source #

See: getMergeConflicts smart constructor.

Instances
Eq GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Data GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetMergeConflicts -> c GetMergeConflicts #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetMergeConflicts #

toConstr :: GetMergeConflicts -> Constr #

dataTypeOf :: GetMergeConflicts -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetMergeConflicts) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetMergeConflicts) #

gmapT :: (forall b. Data b => b -> b) -> GetMergeConflicts -> GetMergeConflicts #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetMergeConflicts -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetMergeConflicts -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetMergeConflicts -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetMergeConflicts -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetMergeConflicts -> m GetMergeConflicts #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMergeConflicts -> m GetMergeConflicts #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMergeConflicts -> m GetMergeConflicts #

Read GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Show GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Generic GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Associated Types

type Rep GetMergeConflicts :: Type -> Type #

Hashable GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

ToJSON GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

AWSRequest GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Associated Types

type Rs GetMergeConflicts :: Type #

ToHeaders GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

ToPath GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

ToQuery GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

NFData GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Methods

rnf :: GetMergeConflicts -> () #

type Rep GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

type Rep GetMergeConflicts = D1 (MetaData "GetMergeConflicts" "Network.AWS.CodeCommit.GetMergeConflicts" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "GetMergeConflicts'" PrefixI True) ((S1 (MetaSel (Just "_gmcRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gmcDestinationCommitSpecifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_gmcSourceCommitSpecifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gmcMergeOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MergeOptionTypeEnum))))
type Rs GetMergeConflicts Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Request Lenses

gmcRepositoryName :: Lens' GetMergeConflicts Text Source #

The name of the repository where the pull request was created.

gmcDestinationCommitSpecifier :: Lens' GetMergeConflicts 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.

gmcSourceCommitSpecifier :: Lens' GetMergeConflicts 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.

gmcMergeOption :: Lens' GetMergeConflicts MergeOptionTypeEnum Source #

The merge option or strategy you want to use to merge the code. The only valid value is FAST_FORWARD_MERGE.

Destructuring the Response

getMergeConflictsResponse Source #

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

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

data GetMergeConflictsResponse Source #

See: getMergeConflictsResponse smart constructor.

Instances
Eq GetMergeConflictsResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Data GetMergeConflictsResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetMergeConflictsResponse -> c GetMergeConflictsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetMergeConflictsResponse #

toConstr :: GetMergeConflictsResponse -> Constr #

dataTypeOf :: GetMergeConflictsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetMergeConflictsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetMergeConflictsResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetMergeConflictsResponse -> GetMergeConflictsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetMergeConflictsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetMergeConflictsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetMergeConflictsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetMergeConflictsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetMergeConflictsResponse -> m GetMergeConflictsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMergeConflictsResponse -> m GetMergeConflictsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMergeConflictsResponse -> m GetMergeConflictsResponse #

Read GetMergeConflictsResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Show GetMergeConflictsResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Generic GetMergeConflictsResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

Associated Types

type Rep GetMergeConflictsResponse :: Type -> Type #

NFData GetMergeConflictsResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

type Rep GetMergeConflictsResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetMergeConflicts

type Rep GetMergeConflictsResponse = D1 (MetaData "GetMergeConflictsResponse" "Network.AWS.CodeCommit.GetMergeConflicts" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "GetMergeConflictsResponse'" PrefixI True) ((S1 (MetaSel (Just "_gmcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_gmcrsMergeable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) :*: (S1 (MetaSel (Just "_gmcrsDestinationCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gmcrsSourceCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

Response Lenses

gmcrsMergeable :: Lens' GetMergeConflictsResponse Bool Source #

A Boolean value that indicates whether the code is mergable by the specified merge option.

gmcrsDestinationCommitId :: Lens' GetMergeConflictsResponse Text Source #

The commit ID of the destination commit specifier that was used in the merge evaluation.

gmcrsSourceCommitId :: Lens' GetMergeConflictsResponse Text Source #

The commit ID of the source commit specifier that was used in the merge evaluation.