Copyright | (c) 2013-2021 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 |
Replaces the contents of the description of a pull request.
Synopsis
- data UpdatePullRequestDescription = UpdatePullRequestDescription' {
- pullRequestId :: Text
- description :: Text
- newUpdatePullRequestDescription :: Text -> Text -> UpdatePullRequestDescription
- updatePullRequestDescription_pullRequestId :: Lens' UpdatePullRequestDescription Text
- updatePullRequestDescription_description :: Lens' UpdatePullRequestDescription Text
- data UpdatePullRequestDescriptionResponse = UpdatePullRequestDescriptionResponse' {}
- newUpdatePullRequestDescriptionResponse :: Int -> PullRequest -> UpdatePullRequestDescriptionResponse
- updatePullRequestDescriptionResponse_httpStatus :: Lens' UpdatePullRequestDescriptionResponse Int
- updatePullRequestDescriptionResponse_pullRequest :: Lens' UpdatePullRequestDescriptionResponse PullRequest
Creating a Request
data UpdatePullRequestDescription Source #
See: newUpdatePullRequestDescription
smart constructor.
UpdatePullRequestDescription' | |
|
Instances
newUpdatePullRequestDescription Source #
:: Text | |
-> Text | |
-> UpdatePullRequestDescription |
Create a value of UpdatePullRequestDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:pullRequestId:UpdatePullRequestDescription'
, updatePullRequestDescription_pullRequestId
- The system-generated ID of the pull request. To get this ID, use
ListPullRequests.
$sel:description:UpdatePullRequestDescription'
, updatePullRequestDescription_description
- The updated content of the description for the pull request. This
content replaces the existing description.
Request Lenses
updatePullRequestDescription_pullRequestId :: Lens' UpdatePullRequestDescription Text Source #
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
updatePullRequestDescription_description :: Lens' UpdatePullRequestDescription Text Source #
The updated content of the description for the pull request. This content replaces the existing description.
Destructuring the Response
data UpdatePullRequestDescriptionResponse Source #
See: newUpdatePullRequestDescriptionResponse
smart constructor.
UpdatePullRequestDescriptionResponse' | |
|
Instances
newUpdatePullRequestDescriptionResponse Source #
Create a value of UpdatePullRequestDescriptionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdatePullRequestDescriptionResponse'
, updatePullRequestDescriptionResponse_httpStatus
- The response's http status code.
$sel:pullRequest:UpdatePullRequestDescriptionResponse'
, updatePullRequestDescriptionResponse_pullRequest
- Information about the updated pull request.
Response Lenses
updatePullRequestDescriptionResponse_httpStatus :: Lens' UpdatePullRequestDescriptionResponse Int Source #
The response's http status code.
updatePullRequestDescriptionResponse_pullRequest :: Lens' UpdatePullRequestDescriptionResponse PullRequest Source #
Information about the updated pull request.