libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs
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.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
Eq InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Read InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

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

NFData InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Methods

rnf :: InputLogEvent -> () #

Hashable InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

ToJSON 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" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" '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.