| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AuditManager.Types.ControlComment
Description
Synopsis
- data ControlComment = ControlComment' {
- authorName :: Maybe Text
- commentBody :: Maybe Text
- postedDate :: Maybe POSIX
- newControlComment :: ControlComment
- controlComment_authorName :: Lens' ControlComment (Maybe Text)
- controlComment_commentBody :: Lens' ControlComment (Maybe Text)
- controlComment_postedDate :: Lens' ControlComment (Maybe UTCTime)
Documentation
data ControlComment Source #
A comment that's posted by a user on a control. This includes the author's name, the comment text, and a timestamp.
See: newControlComment smart constructor.
Constructors
| ControlComment' | |
Fields
| |
Instances
newControlComment :: ControlComment Source #
Create a value of ControlComment 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:authorName:ControlComment', controlComment_authorName - The name of the user who authored the comment.
$sel:commentBody:ControlComment', controlComment_commentBody - The body text of a control comment.
$sel:postedDate:ControlComment', controlComment_postedDate - The time when the comment was posted.
controlComment_authorName :: Lens' ControlComment (Maybe Text) Source #
The name of the user who authored the comment.
controlComment_commentBody :: Lens' ControlComment (Maybe Text) Source #
The body text of a control comment.
controlComment_postedDate :: Lens' ControlComment (Maybe UTCTime) Source #
The time when the comment was posted.