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.OutputLogEvent

Description

 
Synopsis

Documentation

data OutputLogEvent Source #

Represents a log event.

See: newOutputLogEvent smart constructor.

Constructors

OutputLogEvent' 

Fields

  • ingestionTime :: Maybe Natural

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

  • message :: Maybe Text

    The data contained in the log event.

  • timestamp :: Maybe Natural

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

Instances

Instances details
Eq OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Read OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Show OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Generic OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Associated Types

type Rep OutputLogEvent :: Type -> Type #

NFData OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Methods

rnf :: OutputLogEvent -> () #

Hashable OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

FromJSON OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

type Rep OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

type Rep OutputLogEvent = D1 ('MetaData "OutputLogEvent" "Amazonka.CloudWatchLogs.Types.OutputLogEvent" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "OutputLogEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ingestionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newOutputLogEvent :: OutputLogEvent Source #

Create a value of OutputLogEvent 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:ingestionTime:OutputLogEvent', outputLogEvent_ingestionTime - The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:message:OutputLogEvent', outputLogEvent_message - The data contained in the log event.

$sel:timestamp:OutputLogEvent', outputLogEvent_timestamp - The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

outputLogEvent_ingestionTime :: Lens' OutputLogEvent (Maybe Natural) Source #

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

outputLogEvent_message :: Lens' OutputLogEvent (Maybe Text) Source #

The data contained in the log event.

outputLogEvent_timestamp :: Lens' OutputLogEvent (Maybe Natural) Source #

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