libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.Note

Description

 
Synopsis

Documentation

data Note Source #

A user-defined note added to a finding.

See: newNote smart constructor.

Constructors

Note' 

Fields

Instances

Instances details
Eq Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

Methods

(==) :: Note -> Note -> Bool #

(/=) :: Note -> Note -> Bool #

Read Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

Show Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

Methods

showsPrec :: Int -> Note -> ShowS #

show :: Note -> String #

showList :: [Note] -> ShowS #

Generic Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

Associated Types

type Rep Note :: Type -> Type #

Methods

from :: Note -> Rep Note x #

to :: Rep Note x -> Note #

NFData Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

Methods

rnf :: Note -> () #

Hashable Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

Methods

hashWithSalt :: Int -> Note -> Int #

hash :: Note -> Int #

ToJSON Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

FromJSON Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

type Rep Note Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Note

type Rep Note = D1 ('MetaData "Note" "Amazonka.SecurityHub.Types.Note" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "Note'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "updatedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newNote Source #

Create a value of Note 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:text:Note', note_text - The text of a note.

$sel:updatedBy:Note', note_updatedBy - The principal that created a note.

$sel:updatedAt:Note', note_updatedAt - The timestamp of when the note was updated.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

note_text :: Lens' Note Text Source #

The text of a note.

note_updatedBy :: Lens' Note Text Source #

The principal that created a note.

note_updatedAt :: Lens' Note Text Source #

The timestamp of when the note was updated.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.