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.UpdatePullRequestTitle

Description

Replaces the title of a pull request.

Synopsis

Creating a Request

data UpdatePullRequestTitle Source #

See: newUpdatePullRequestTitle smart constructor.

Constructors

UpdatePullRequestTitle' 

Fields

  • pullRequestId :: Text

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

  • title :: Text

    The updated title of the pull request. This replaces the existing title.

Instances

Instances details
Eq UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Read UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Show UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Generic UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Associated Types

type Rep UpdatePullRequestTitle :: Type -> Type #

NFData UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Methods

rnf :: UpdatePullRequestTitle -> () #

Hashable UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

ToJSON UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

AWSRequest UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Associated Types

type AWSResponse UpdatePullRequestTitle #

ToHeaders UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

ToPath UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

ToQuery UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

type Rep UpdatePullRequestTitle Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

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

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

newUpdatePullRequestTitle Source #

Create a value of UpdatePullRequestTitle 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:UpdatePullRequestTitle', updatePullRequestTitle_pullRequestId - The system-generated ID of the pull request. To get this ID, use ListPullRequests.

$sel:title:UpdatePullRequestTitle', updatePullRequestTitle_title - The updated title of the pull request. This replaces the existing title.

Request Lenses

updatePullRequestTitle_pullRequestId :: Lens' UpdatePullRequestTitle Text Source #

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

updatePullRequestTitle_title :: Lens' UpdatePullRequestTitle Text Source #

The updated title of the pull request. This replaces the existing title.

Destructuring the Response

data UpdatePullRequestTitleResponse Source #

See: newUpdatePullRequestTitleResponse smart constructor.

Constructors

UpdatePullRequestTitleResponse' 

Fields

Instances

Instances details
Eq UpdatePullRequestTitleResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Read UpdatePullRequestTitleResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Show UpdatePullRequestTitleResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Generic UpdatePullRequestTitleResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

Associated Types

type Rep UpdatePullRequestTitleResponse :: Type -> Type #

NFData UpdatePullRequestTitleResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

type Rep UpdatePullRequestTitleResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestTitle

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

newUpdatePullRequestTitleResponse Source #

Create a value of UpdatePullRequestTitleResponse 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:UpdatePullRequestTitleResponse', updatePullRequestTitleResponse_httpStatus - The response's http status code.

$sel:pullRequest:UpdatePullRequestTitleResponse', updatePullRequestTitleResponse_pullRequest - Information about the updated pull request.

Response Lenses