Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ApprovalStateChangedEventMetadata = ApprovalStateChangedEventMetadata' {}
- newApprovalStateChangedEventMetadata :: ApprovalStateChangedEventMetadata
- approvalStateChangedEventMetadata_approvalStatus :: Lens' ApprovalStateChangedEventMetadata (Maybe ApprovalState)
- approvalStateChangedEventMetadata_revisionId :: Lens' ApprovalStateChangedEventMetadata (Maybe Text)
Documentation
data ApprovalStateChangedEventMetadata Source #
Returns information about a change in the approval state for a pull request.
See: newApprovalStateChangedEventMetadata
smart constructor.
ApprovalStateChangedEventMetadata' | |
|
Instances
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_approvalStatus :: Lens' ApprovalStateChangedEventMetadata (Maybe ApprovalState) Source #
The approval status for the pull request.
approvalStateChangedEventMetadata_revisionId :: Lens' ApprovalStateChangedEventMetadata (Maybe Text) Source #
The revision ID of the pull request when the approval state changed.