libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

Read ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

Show 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 #

NFData ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

Methods

rnf :: ReactionValueFormats -> () #

Hashable ReactionValueFormats Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReactionValueFormats

FromJSON 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" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" '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.