| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CodeCommit.GetMergeConflicts
Description
Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.
Synopsis
- getMergeConflicts :: Text -> Text -> Text -> MergeOptionTypeEnum -> GetMergeConflicts
- data GetMergeConflicts
- gmcRepositoryName :: Lens' GetMergeConflicts Text
- gmcDestinationCommitSpecifier :: Lens' GetMergeConflicts Text
- gmcSourceCommitSpecifier :: Lens' GetMergeConflicts Text
- gmcMergeOption :: Lens' GetMergeConflicts MergeOptionTypeEnum
- getMergeConflictsResponse :: Int -> Bool -> Text -> Text -> GetMergeConflictsResponse
- data GetMergeConflictsResponse
- gmcrsResponseStatus :: Lens' GetMergeConflictsResponse Int
- gmcrsMergeable :: Lens' GetMergeConflictsResponse Bool
- gmcrsDestinationCommitId :: Lens' GetMergeConflictsResponse Text
- gmcrsSourceCommitId :: Lens' GetMergeConflictsResponse Text
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> MergeOptionTypeEnum | |
| -> 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 Source #
See: getMergeConflicts smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> Bool | |
| -> Text | |
| -> Text | |
| -> 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:
gmcrsResponseStatus- -- | The response status code.gmcrsMergeable- A Boolean value that indicates whether the code is mergable by the specified merge option.gmcrsDestinationCommitId- The commit ID of the destination commit specifier that was used in the merge evaluation.gmcrsSourceCommitId- The commit ID of the source commit specifier that was used in the merge evaluation.
data GetMergeConflictsResponse Source #
See: getMergeConflictsResponse smart constructor.
Instances
Response Lenses
gmcrsResponseStatus :: Lens' GetMergeConflictsResponse Int Source #
- - | The response status code.
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.