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

Description

 
Synopsis

Documentation

data ApprovalStateChangedEventMetadata Source #

Returns information about a change in the approval state for a pull request.

See: newApprovalStateChangedEventMetadata smart constructor.

Constructors

ApprovalStateChangedEventMetadata' 

Fields

Instances

Instances details
Eq ApprovalStateChangedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata

Read ApprovalStateChangedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata

Show ApprovalStateChangedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata

Generic ApprovalStateChangedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata

Associated Types

type Rep ApprovalStateChangedEventMetadata :: Type -> Type #

NFData ApprovalStateChangedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata

Hashable ApprovalStateChangedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata

FromJSON ApprovalStateChangedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata

type Rep ApprovalStateChangedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalStateChangedEventMetadata

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

newApprovalStateChangedEventMetadata :: ApprovalStateChangedEventMetadata Source #

Create a value of ApprovalStateChangedEventMetadata 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:approvalStatus:ApprovalStateChangedEventMetadata', approvalStateChangedEventMetadata_approvalStatus - The approval status for the pull request.

$sel:revisionId:ApprovalStateChangedEventMetadata', approvalStateChangedEventMetadata_revisionId - The revision ID of the pull request when the approval state changed.

approvalStateChangedEventMetadata_revisionId :: Lens' ApprovalStateChangedEventMetadata (Maybe Text) Source #

The revision ID of the pull request when the approval state changed.