amazonka-codecommit-2.0: Amazon CodeCommit SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeCommit.Types.ReactionForComment

Description

 
Synopsis

Documentation

data ReactionForComment Source #

Information about the reaction values provided by users on a comment.

See: newReactionForComment smart constructor.

Constructors

ReactionForComment' 

Fields

Instances

Instances details
FromJSON ReactionForComment Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionForComment

Generic ReactionForComment Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionForComment

Associated Types

type Rep ReactionForComment :: Type -> Type #

Read ReactionForComment Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionForComment

Show ReactionForComment Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionForComment

NFData ReactionForComment Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionForComment

Methods

rnf :: ReactionForComment -> () #

Eq ReactionForComment Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionForComment

Hashable ReactionForComment Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionForComment

type Rep ReactionForComment Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionForComment

type Rep ReactionForComment = D1 ('MetaData "ReactionForComment" "Amazonka.CodeCommit.Types.ReactionForComment" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "ReactionForComment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reaction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReactionValueFormats)) :*: (S1 ('MetaSel ('Just "reactionUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "reactionsFromDeletedUsersCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newReactionForComment :: ReactionForComment Source #

Create a value of ReactionForComment 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:reaction:ReactionForComment', reactionForComment_reaction - The reaction for a specified comment.

$sel:reactionUsers:ReactionForComment', reactionForComment_reactionUsers - The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

$sel:reactionsFromDeletedUsersCount:ReactionForComment', reactionForComment_reactionsFromDeletedUsersCount - A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.

reactionForComment_reactionUsers :: Lens' ReactionForComment (Maybe [Text]) Source #

The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

reactionForComment_reactionsFromDeletedUsersCount :: Lens' ReactionForComment (Maybe Int) Source #

A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.