| 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.CodeCommit.Types.Comment
Description
Synopsis
- data Comment = Comment' {}
- newComment :: Comment
- comment_authorArn :: Lens' Comment (Maybe Text)
- comment_callerReactions :: Lens' Comment (Maybe [Text])
- comment_clientRequestToken :: Lens' Comment (Maybe Text)
- comment_commentId :: Lens' Comment (Maybe Text)
- comment_content :: Lens' Comment (Maybe Text)
- comment_creationDate :: Lens' Comment (Maybe UTCTime)
- comment_deleted :: Lens' Comment (Maybe Bool)
- comment_inReplyTo :: Lens' Comment (Maybe Text)
- comment_lastModifiedDate :: Lens' Comment (Maybe UTCTime)
- comment_reactionCounts :: Lens' Comment (Maybe (HashMap Text Int))
Documentation
Returns information about a specific comment.
See: newComment smart constructor.
Constructors
| Comment' | |
Fields
| |
Instances
newComment :: Comment Source #
Create a value of Comment 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:authorArn:Comment', comment_authorArn - The Amazon Resource Name (ARN) of the person who posted the comment.
$sel:callerReactions:Comment', comment_callerReactions - The emoji reactions to a comment, if any, submitted by the user whose
credentials are associated with the call to the API.
$sel:clientRequestToken:Comment', comment_clientRequestToken - A unique, client-generated idempotency token that, when provided in a
request, ensures the request cannot be repeated with a changed
parameter. If a request is received with the same parameters and a token
is included, the request returns information about the initial request
that used that token.
$sel:commentId:Comment', comment_commentId - The system-generated comment ID.
$sel:content:Comment', comment_content - The content of the comment.
$sel:creationDate:Comment', comment_creationDate - The date and time the comment was created, in timestamp format.
$sel:deleted:Comment', comment_deleted - A Boolean value indicating whether the comment has been deleted.
$sel:inReplyTo:Comment', comment_inReplyTo - The ID of the comment for which this comment is a reply, if any.
$sel:lastModifiedDate:Comment', comment_lastModifiedDate - The date and time the comment was most recently modified, in timestamp
format.
$sel:reactionCounts:Comment', comment_reactionCounts - A string to integer map that represents the number of individual users
who have responded to a comment with the specified reactions.
comment_authorArn :: Lens' Comment (Maybe Text) Source #
The Amazon Resource Name (ARN) of the person who posted the comment.
comment_callerReactions :: Lens' Comment (Maybe [Text]) Source #
The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.
comment_clientRequestToken :: Lens' Comment (Maybe Text) Source #
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
comment_creationDate :: Lens' Comment (Maybe UTCTime) Source #
The date and time the comment was created, in timestamp format.
comment_deleted :: Lens' Comment (Maybe Bool) Source #
A Boolean value indicating whether the comment has been deleted.
comment_inReplyTo :: Lens' Comment (Maybe Text) Source #
The ID of the comment for which this comment is a reply, if any.