| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeCommit.UpdatePullRequestDescription
Description
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.
Constructors
| UpdatePullRequestDescription' | |
Fields
| |
Instances
newUpdatePullRequestDescription Source #
Arguments
| :: 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:
UpdatePullRequestDescription, updatePullRequestDescription_pullRequestId - The system-generated ID of the pull request. To get this ID, use
ListPullRequests.
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.
Constructors
| UpdatePullRequestDescriptionResponse' | |
Fields
| |
Instances
newUpdatePullRequestDescriptionResponse Source #
Arguments
| :: Int | |
| -> PullRequest | |
| -> UpdatePullRequestDescriptionResponse |
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.