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 |
Replaces the contents of the description of a pull request.
Synopsis
- updatePullRequestDescription :: Text -> Text -> UpdatePullRequestDescription
- data UpdatePullRequestDescription
- uprdPullRequestId :: Lens' UpdatePullRequestDescription Text
- uprdDescription :: Lens' UpdatePullRequestDescription Text
- updatePullRequestDescriptionResponse :: Int -> PullRequest -> UpdatePullRequestDescriptionResponse
- data UpdatePullRequestDescriptionResponse
- uprdrsResponseStatus :: Lens' UpdatePullRequestDescriptionResponse Int
- uprdrsPullRequest :: Lens' UpdatePullRequestDescriptionResponse PullRequest
Creating a Request
updatePullRequestDescription Source #
Creates a value of UpdatePullRequestDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprdPullRequestId
- The system-generated ID of the pull request. To get this ID, useListPullRequests
.uprdDescription
- The updated content of the description for the pull request. This content will replace the existing description.
data UpdatePullRequestDescription Source #
See: updatePullRequestDescription
smart constructor.
Instances
Request Lenses
uprdPullRequestId :: Lens' UpdatePullRequestDescription Text Source #
The system-generated ID of the pull request. To get this ID, use ListPullRequests
.
uprdDescription :: Lens' UpdatePullRequestDescription Text Source #
The updated content of the description for the pull request. This content will replace the existing description.
Destructuring the Response
updatePullRequestDescriptionResponse Source #
Creates a value of UpdatePullRequestDescriptionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprdrsResponseStatus
- -- | The response status code.uprdrsPullRequest
- Information about the updated pull request.
data UpdatePullRequestDescriptionResponse Source #
See: updatePullRequestDescriptionResponse
smart constructor.
Instances
Response Lenses
uprdrsResponseStatus :: Lens' UpdatePullRequestDescriptionResponse Int Source #
- - | The response status code.
uprdrsPullRequest :: Lens' UpdatePullRequestDescriptionResponse PullRequest Source #
Information about the updated pull request.