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

Description

Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.

Synopsis

Creating a Request

data GetPullRequestApprovalStates Source #

See: newGetPullRequestApprovalStates smart constructor.

Constructors

GetPullRequestApprovalStates' 

Fields

Instances

Instances details
Eq GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

Read GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

Show GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

Generic GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

Associated Types

type Rep GetPullRequestApprovalStates :: Type -> Type #

NFData GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

Hashable GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

ToJSON GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

AWSRequest GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

ToHeaders GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

ToPath GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

ToQuery GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

type Rep GetPullRequestApprovalStates Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

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

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

newGetPullRequestApprovalStates Source #

Create a value of GetPullRequestApprovalStates 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:GetPullRequestApprovalStates', getPullRequestApprovalStates_pullRequestId - The system-generated ID for the pull request.

$sel:revisionId:GetPullRequestApprovalStates', getPullRequestApprovalStates_revisionId - The system-generated ID for the pull request revision.

Request Lenses

getPullRequestApprovalStates_revisionId :: Lens' GetPullRequestApprovalStates Text Source #

The system-generated ID for the pull request revision.

Destructuring the Response

data GetPullRequestApprovalStatesResponse Source #

Constructors

GetPullRequestApprovalStatesResponse' 

Fields

Instances

Instances details
Eq GetPullRequestApprovalStatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

Read GetPullRequestApprovalStatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

Show GetPullRequestApprovalStatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

Generic GetPullRequestApprovalStatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

NFData GetPullRequestApprovalStatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

type Rep GetPullRequestApprovalStatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetPullRequestApprovalStates

type Rep GetPullRequestApprovalStatesResponse = D1 ('MetaData "GetPullRequestApprovalStatesResponse" "Amazonka.CodeCommit.GetPullRequestApprovalStates" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "GetPullRequestApprovalStatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "approvals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Approval])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetPullRequestApprovalStatesResponse Source #

Create a value of GetPullRequestApprovalStatesResponse 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:approvals:GetPullRequestApprovalStatesResponse', getPullRequestApprovalStatesResponse_approvals - Information about users who have approved the pull request.

$sel:httpStatus:GetPullRequestApprovalStatesResponse', getPullRequestApprovalStatesResponse_httpStatus - The response's http status code.

Response Lenses

getPullRequestApprovalStatesResponse_approvals :: Lens' GetPullRequestApprovalStatesResponse (Maybe [Approval]) Source #

Information about users who have approved the pull request.