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.Types.Approval

Description

 
Synopsis

Documentation

data Approval Source #

Returns information about a specific approval on a pull request.

See: newApproval smart constructor.

Constructors

Approval' 

Fields

Instances

Instances details
Eq Approval Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Approval

Read Approval Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Approval

Show Approval Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Approval

Generic Approval Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Approval

Associated Types

type Rep Approval :: Type -> Type #

Methods

from :: Approval -> Rep Approval x #

to :: Rep Approval x -> Approval #

NFData Approval Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Approval

Methods

rnf :: Approval -> () #

Hashable Approval Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Approval

Methods

hashWithSalt :: Int -> Approval -> Int #

hash :: Approval -> Int #

FromJSON Approval Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Approval

type Rep Approval Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Approval

type Rep Approval = D1 ('MetaData "Approval" "Amazonka.CodeCommit.Types.Approval" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "Approval'" 'PrefixI 'True) (S1 ('MetaSel ('Just "approvalState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApprovalState)) :*: S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newApproval :: Approval Source #

Create a value of Approval 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:approvalState:Approval', approval_approvalState - The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.

$sel:userArn:Approval', approval_userArn - The Amazon Resource Name (ARN) of the user.

approval_approvalState :: Lens' Approval (Maybe ApprovalState) Source #

The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.

approval_userArn :: Lens' Approval (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user.