amazonka-connectcases-2.0: Amazon Connect Cases 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.ConnectCases.Types.CommentContent

Description

 
Synopsis

Documentation

data CommentContent Source #

Represents the content of a Comment to be returned to agents.

See: newCommentContent smart constructor.

Constructors

CommentContent' 

Fields

Instances

Instances details
FromJSON CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

ToJSON CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

Generic CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

Associated Types

type Rep CommentContent :: Type -> Type #

Read CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

Show CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

NFData CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

Methods

rnf :: CommentContent -> () #

Eq CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

Hashable CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

type Rep CommentContent Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.CommentContent

type Rep CommentContent = D1 ('MetaData "CommentContent" "Amazonka.ConnectCases.Types.CommentContent" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "CommentContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CommentBodyTextType)))

newCommentContent Source #

Create a value of CommentContent 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:body:CommentContent', commentContent_body - Text in the body of a Comment on a case.

$sel:contentType:CommentContent', commentContent_contentType - Type of the text in the box of a Comment on a case.

commentContent_body :: Lens' CommentContent Text Source #

Text in the body of a Comment on a case.

commentContent_contentType :: Lens' CommentContent CommentBodyTextType Source #

Type of the text in the box of a Comment on a case.