libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeCommit.UpdatePullRequestDescription

Description

Replaces the contents of the description of a pull request.

Synopsis

Creating a Request

data UpdatePullRequestDescription Source #

See: newUpdatePullRequestDescription smart constructor.

Constructors

UpdatePullRequestDescription' 

Fields

  • pullRequestId :: Text

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

  • description :: Text

    The updated content of the description for the pull request. This content replaces the existing description.

Instances

Instances details
Eq UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Read UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Show UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Generic UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Associated Types

type Rep UpdatePullRequestDescription :: Type -> Type #

NFData UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Hashable UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

ToJSON UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

AWSRequest UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

ToHeaders UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

ToPath UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

ToQuery UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

type Rep UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

type Rep UpdatePullRequestDescription = D1 ('MetaData "UpdatePullRequestDescription" "Amazonka.CodeCommit.UpdatePullRequestDescription" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "UpdatePullRequestDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pullRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

newUpdatePullRequestDescription Source #

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 #

Constructors

UpdatePullRequestDescriptionResponse' 

Fields

Instances

Instances details
Eq UpdatePullRequestDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Read UpdatePullRequestDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Show UpdatePullRequestDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Generic UpdatePullRequestDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

NFData UpdatePullRequestDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

type Rep UpdatePullRequestDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

type Rep UpdatePullRequestDescriptionResponse = D1 ('MetaData "UpdatePullRequestDescriptionResponse" "Amazonka.CodeCommit.UpdatePullRequestDescription" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "UpdatePullRequestDescriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "pullRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PullRequest)))

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