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 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 # 
Data GetMergeConflicts Source # 

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

Methods

rnf :: GetMergeConflicts -> () #

AWSRequest GetMergeConflicts Source # 
ToHeaders GetMergeConflicts Source # 
ToPath GetMergeConflicts Source # 
ToQuery GetMergeConflicts Source # 
type Rep GetMergeConflicts Source # 
type Rep GetMergeConflicts = D1 * (MetaData "GetMergeConflicts" "Network.AWS.CodeCommit.GetMergeConflicts" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" 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 Source # 

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 # 
Data GetMergeConflictsResponse Source # 

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 # 
Show GetMergeConflictsResponse Source # 
Generic GetMergeConflictsResponse Source # 
NFData GetMergeConflictsResponse Source # 
type Rep GetMergeConflictsResponse Source # 
type Rep GetMergeConflictsResponse = D1 * (MetaData "GetMergeConflictsResponse" "Network.AWS.CodeCommit.GetMergeConflicts" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" 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

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.