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 CommentMetadata = CommentMetadata' {}
- newCommentMetadata :: CommentMetadata
- commentMetadata_commentStatus :: Lens' CommentMetadata (Maybe CommentStatusType)
- commentMetadata_contributor :: Lens' CommentMetadata (Maybe User)
- commentMetadata_commentId :: Lens' CommentMetadata (Maybe Text)
- commentMetadata_createdTimestamp :: Lens' CommentMetadata (Maybe UTCTime)
- commentMetadata_recipientId :: Lens' CommentMetadata (Maybe Text)
Documentation
data CommentMetadata Source #
Describes the metadata of a comment.
See: newCommentMetadata
smart constructor.
CommentMetadata' | |
|
Instances
newCommentMetadata :: CommentMetadata Source #
Create a value of CommentMetadata
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:commentStatus:CommentMetadata'
, commentMetadata_commentStatus
- The status of the comment.
$sel:contributor:CommentMetadata'
, commentMetadata_contributor
- The user who made the comment.
$sel:commentId:CommentMetadata'
, commentMetadata_commentId
- The ID of the comment.
$sel:createdTimestamp:CommentMetadata'
, commentMetadata_createdTimestamp
- The timestamp that the comment was created.
$sel:recipientId:CommentMetadata'
, commentMetadata_recipientId
- The ID of the user being replied to.
commentMetadata_commentStatus :: Lens' CommentMetadata (Maybe CommentStatusType) Source #
The status of the comment.
commentMetadata_contributor :: Lens' CommentMetadata (Maybe User) Source #
The user who made the comment.
commentMetadata_commentId :: Lens' CommentMetadata (Maybe Text) Source #
The ID of the comment.
commentMetadata_createdTimestamp :: Lens' CommentMetadata (Maybe UTCTime) Source #
The timestamp that the comment was created.
commentMetadata_recipientId :: Lens' CommentMetadata (Maybe Text) Source #
The ID of the user being replied to.