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

Description

Gets information about a pull request in a specified repository.

Synopsis

Creating a Request

data GetPullRequest Source #

See: newGetPullRequest smart constructor.

Constructors

GetPullRequest' 

Fields

  • pullRequestId :: Text

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

Instances

Instances details
Eq GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Read GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Show GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Generic GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Associated Types

type Rep GetPullRequest :: Type -> Type #

NFData GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Methods

rnf :: GetPullRequest -> () #

Hashable GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

ToJSON GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

AWSRequest GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Associated Types

type AWSResponse GetPullRequest #

ToHeaders GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

ToPath GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

ToQuery GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

type Rep GetPullRequest Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

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

Defined in Amazonka.CodeCommit.GetPullRequest

newGetPullRequest Source #

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

Request Lenses

getPullRequest_pullRequestId :: Lens' GetPullRequest Text Source #

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

Destructuring the Response

data GetPullRequestResponse Source #

See: newGetPullRequestResponse smart constructor.

Constructors

GetPullRequestResponse' 

Fields

Instances

Instances details
Eq GetPullRequestResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Read GetPullRequestResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Show GetPullRequestResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Generic GetPullRequestResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Associated Types

type Rep GetPullRequestResponse :: Type -> Type #

NFData GetPullRequestResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

Methods

rnf :: GetPullRequestResponse -> () #

type Rep GetPullRequestResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequest

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

newGetPullRequestResponse Source #

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

$sel:pullRequest:GetPullRequestResponse', getPullRequestResponse_pullRequest - Information about the specified pull request.

Response Lenses

getPullRequestResponse_pullRequest :: Lens' GetPullRequestResponse PullRequest Source #

Information about the specified pull request.