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

Description

Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.

Synopsis

Creating a Request

data UpdatePullRequestApprovalState Source #

See: newUpdatePullRequestApprovalState smart constructor.

Constructors

UpdatePullRequestApprovalState' 

Fields

Instances

Instances details
Eq UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

Read UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

Show UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

Generic UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

Associated Types

type Rep UpdatePullRequestApprovalState :: Type -> Type #

NFData UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

Hashable UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

ToJSON UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

AWSRequest UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

ToHeaders UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

ToPath UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

ToQuery UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

type Rep UpdatePullRequestApprovalState Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

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

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

newUpdatePullRequestApprovalState Source #

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

$sel:revisionId:UpdatePullRequestApprovalState', updatePullRequestApprovalState_revisionId - The system-generated ID of the revision.

$sel:approvalState:UpdatePullRequestApprovalState', updatePullRequestApprovalState_approvalState - The approval state to associate with the user on the pull request.

Request Lenses

updatePullRequestApprovalState_approvalState :: Lens' UpdatePullRequestApprovalState ApprovalState Source #

The approval state to associate with the user on the pull request.

Destructuring the Response

data UpdatePullRequestApprovalStateResponse Source #

Instances

Instances details
Eq UpdatePullRequestApprovalStateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

Read UpdatePullRequestApprovalStateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

Show UpdatePullRequestApprovalStateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

Generic UpdatePullRequestApprovalStateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

NFData UpdatePullRequestApprovalStateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

type Rep UpdatePullRequestApprovalStateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdatePullRequestApprovalState

type Rep UpdatePullRequestApprovalStateResponse = D1 ('MetaData "UpdatePullRequestApprovalStateResponse" "Amazonka.CodeCommit.UpdatePullRequestApprovalState" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "UpdatePullRequestApprovalStateResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdatePullRequestApprovalStateResponse :: UpdatePullRequestApprovalStateResponse Source #

Create a value of UpdatePullRequestApprovalStateResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.