amazonka-cloudwatch-logs-2.0: Amazon CloudWatch Logs 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.CloudWatchLogs.Types.InputLogEvent

Description

 
Synopsis

Documentation

data InputLogEvent Source #

Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.

See: newInputLogEvent smart constructor.

Constructors

InputLogEvent' 

Fields

  • timestamp :: Natural

    The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

  • message :: Text

    The raw event message.

Instances

Instances details
ToJSON InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Generic InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Associated Types

type Rep InputLogEvent :: Type -> Type #

Read InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Show InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

NFData InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Methods

rnf :: InputLogEvent -> () #

Eq InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Hashable InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

type Rep InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

type Rep InputLogEvent = D1 ('MetaData "InputLogEvent" "Amazonka.CloudWatchLogs.Types.InputLogEvent" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "InputLogEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newInputLogEvent Source #

Create a value of InputLogEvent 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:timestamp:InputLogEvent', inputLogEvent_timestamp - The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:message:InputLogEvent', inputLogEvent_message - The raw event message.

inputLogEvent_timestamp :: Lens' InputLogEvent Natural Source #

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.