amazonka-codecommit-2.0: Amazon CodeCommit SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Show UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

NFData UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Eq UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Hashable UpdatePullRequestDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

type AWSResponse 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" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "UpdatePullRequestDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pullRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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 #

Constructors

UpdatePullRequestDescriptionResponse' 

Fields

Instances

Instances details
Generic 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

NFData UpdatePullRequestDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestDescription

Eq 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" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" '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