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 ControlComment = ControlComment' {
- authorName :: Maybe Text
- postedDate :: Maybe POSIX
- commentBody :: Maybe Text
- newControlComment :: ControlComment
- controlComment_authorName :: Lens' ControlComment (Maybe Text)
- controlComment_postedDate :: Lens' ControlComment (Maybe UTCTime)
- controlComment_commentBody :: Lens' ControlComment (Maybe Text)
Documentation
data ControlComment Source #
A comment posted by a user on a control. This includes the author's name, the comment text, and a timestamp.
See: newControlComment
smart constructor.
ControlComment' | |
|
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:postedDate:ControlComment'
, controlComment_postedDate
- The time when the comment was posted.
$sel:commentBody:ControlComment'
, controlComment_commentBody
- The body text of a control comment.
controlComment_authorName :: Lens' ControlComment (Maybe Text) Source #
The name of the user who authored the comment.
controlComment_postedDate :: Lens' ControlComment (Maybe UTCTime) Source #
The time when the comment was posted.
controlComment_commentBody :: Lens' ControlComment (Maybe Text) Source #
The body text of a control comment.