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.ReactionValueFormats

Description

 
Synopsis

Documentation

data ReactionValueFormats Source #

Information about the values for reactions to a comment. AWS CodeCommit supports a limited set of reactions.

See: newReactionValueFormats smart constructor.

Constructors

ReactionValueFormats' 

Fields

  • emoji :: Maybe Text

    The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.

  • shortCode :: Maybe Text

    The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.

  • unicode :: Maybe Text

    The Unicode codepoint for the reaction.

Instances

Instances details
FromJSON ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

Generic ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

Associated Types

type Rep ReactionValueFormats :: Type -> Type #

Read ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

Show ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

NFData ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

Methods

rnf :: ReactionValueFormats -> () #

Eq ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

Hashable ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

type Rep ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

type Rep ReactionValueFormats = D1 ('MetaData "ReactionValueFormats" "Amazonka.CodeCommit.Types.ReactionValueFormats" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "ReactionValueFormats'" 'PrefixI 'True) (S1 ('MetaSel ('Just "emoji") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "shortCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "unicode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newReactionValueFormats :: ReactionValueFormats Source #

Create a value of ReactionValueFormats 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:emoji:ReactionValueFormats', reactionValueFormats_emoji - The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.

$sel:shortCode:ReactionValueFormats', reactionValueFormats_shortCode - The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.

$sel:unicode:ReactionValueFormats', reactionValueFormats_unicode - The Unicode codepoint for the reaction.

reactionValueFormats_emoji :: Lens' ReactionValueFormats (Maybe Text) Source #

The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.

reactionValueFormats_shortCode :: Lens' ReactionValueFormats (Maybe Text) Source #

The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.

reactionValueFormats_unicode :: Lens' ReactionValueFormats (Maybe Text) Source #

The Unicode codepoint for the reaction.