amazonka-codecommit-1.6.0: 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 #

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 #

See: getMergeConflicts smart constructor.

Instances

Eq GetMergeConflicts # 
Data 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 # 
Show GetMergeConflicts # 
Generic GetMergeConflicts # 
Hashable GetMergeConflicts # 
ToJSON GetMergeConflicts # 
NFData GetMergeConflicts # 

Methods

rnf :: GetMergeConflicts -> () #

AWSRequest GetMergeConflicts # 
ToHeaders GetMergeConflicts # 
ToPath GetMergeConflicts # 
ToQuery GetMergeConflicts # 
type Rep GetMergeConflicts # 
type Rep GetMergeConflicts = D1 * (MetaData "GetMergeConflicts" "Network.AWS.CodeCommit.GetMergeConflicts" "amazonka-codecommit-1.6.0-DWhAPL2rvZuFmVENn91cJd" False) (C1 * (MetaCons "GetMergeConflicts'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gmcRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gmcDestinationCommitSpecifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmcSourceCommitSpecifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gmcMergeOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * MergeOptionTypeEnum)))))
type Rs GetMergeConflicts # 

Request Lenses

gmcRepositoryName :: Lens' GetMergeConflicts Text #

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

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

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

gmcMergeOption :: Lens' GetMergeConflicts MergeOptionTypeEnum #

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 #

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 #

See: getMergeConflictsResponse smart constructor.

Instances

Eq GetMergeConflictsResponse # 
Data GetMergeConflictsResponse # 

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 # 
Show GetMergeConflictsResponse # 
Generic GetMergeConflictsResponse # 
NFData GetMergeConflictsResponse # 
type Rep GetMergeConflictsResponse # 
type Rep GetMergeConflictsResponse = D1 * (MetaData "GetMergeConflictsResponse" "Network.AWS.CodeCommit.GetMergeConflicts" "amazonka-codecommit-1.6.0-DWhAPL2rvZuFmVENn91cJd" False) (C1 * (MetaCons "GetMergeConflictsResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gmcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_gmcrsMergeable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmcrsDestinationCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gmcrsSourceCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))

Response Lenses

gmcrsResponseStatus :: Lens' GetMergeConflictsResponse Int #

  • - | The response status code.

gmcrsMergeable :: Lens' GetMergeConflictsResponse Bool #

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

gmcrsDestinationCommitId :: Lens' GetMergeConflictsResponse Text #

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

gmcrsSourceCommitId :: Lens' GetMergeConflictsResponse Text #

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