| 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.UpdatePullRequestTitle
Description
Replaces the title of a pull request.
Synopsis
- updatePullRequestTitle :: Text -> Text -> UpdatePullRequestTitle
- data UpdatePullRequestTitle
- uprtPullRequestId :: Lens' UpdatePullRequestTitle Text
- uprtTitle :: Lens' UpdatePullRequestTitle Text
- updatePullRequestTitleResponse :: Int -> PullRequest -> UpdatePullRequestTitleResponse
- data UpdatePullRequestTitleResponse
- uprtrsResponseStatus :: Lens' UpdatePullRequestTitleResponse Int
- uprtrsPullRequest :: Lens' UpdatePullRequestTitleResponse PullRequest
Creating a Request
updatePullRequestTitle Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdatePullRequestTitle |
Creates a value of UpdatePullRequestTitle with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprtPullRequestId- The system-generated ID of the pull request. To get this ID, useListPullRequests.uprtTitle- The updated title of the pull request. This will replace the existing title.
data UpdatePullRequestTitle Source #
See: updatePullRequestTitle smart constructor.
Instances
Request Lenses
uprtPullRequestId :: Lens' UpdatePullRequestTitle Text Source #
The system-generated ID of the pull request. To get this ID, use ListPullRequests .
uprtTitle :: Lens' UpdatePullRequestTitle Text Source #
The updated title of the pull request. This will replace the existing title.
Destructuring the Response
updatePullRequestTitleResponse Source #
Creates a value of UpdatePullRequestTitleResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprtrsResponseStatus- -- | The response status code.uprtrsPullRequest- Information about the updated pull request.
data UpdatePullRequestTitleResponse Source #
See: updatePullRequestTitleResponse smart constructor.
Instances
Response Lenses
uprtrsResponseStatus :: Lens' UpdatePullRequestTitleResponse Int Source #
- - | The response status code.
uprtrsPullRequest :: Lens' UpdatePullRequestTitleResponse PullRequest Source #
Information about the updated pull request.