libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager
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.AuditManager.Types.ControlComment

Description

 
Synopsis

Documentation

data ControlComment Source #

A comment posted by a user on a control. This includes the author's name, the comment text, and a timestamp.

See: newControlComment smart constructor.

Constructors

ControlComment' 

Fields

Instances

Instances details
Eq ControlComment Source # 
Instance details

Defined in Amazonka.AuditManager.Types.ControlComment

Read ControlComment Source # 
Instance details

Defined in Amazonka.AuditManager.Types.ControlComment

Show ControlComment Source # 
Instance details

Defined in Amazonka.AuditManager.Types.ControlComment

Generic ControlComment Source # 
Instance details

Defined in Amazonka.AuditManager.Types.ControlComment

Associated Types

type Rep ControlComment :: Type -> Type #

NFData ControlComment Source # 
Instance details

Defined in Amazonka.AuditManager.Types.ControlComment

Methods

rnf :: ControlComment -> () #

Hashable ControlComment Source # 
Instance details

Defined in Amazonka.AuditManager.Types.ControlComment

FromJSON ControlComment Source # 
Instance details

Defined in Amazonka.AuditManager.Types.ControlComment

type Rep ControlComment Source # 
Instance details

Defined in Amazonka.AuditManager.Types.ControlComment

type Rep ControlComment = D1 ('MetaData "ControlComment" "Amazonka.AuditManager.Types.ControlComment" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "ControlComment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "postedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "commentBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newControlComment :: ControlComment Source #

Create a value of ControlComment 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:authorName:ControlComment', controlComment_authorName - The name of the user who authored the comment.

$sel:postedDate:ControlComment', controlComment_postedDate - The time when the comment was posted.

$sel:commentBody:ControlComment', controlComment_commentBody - The body text of a control comment.

controlComment_authorName :: Lens' ControlComment (Maybe Text) Source #

The name of the user who authored the comment.

controlComment_postedDate :: Lens' ControlComment (Maybe UTCTime) Source #

The time when the comment was posted.

controlComment_commentBody :: Lens' ControlComment (Maybe Text) Source #

The body text of a control comment.