libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
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.DevOpsGuru.Types.Event

Description

 
Synopsis

Documentation

data Event Source #

An AWS resource event. AWS resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.

See: newEvent smart constructor.

Constructors

Event' 

Fields

Instances

Instances details
Eq Event Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.Event

Methods

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

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

Read Event Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.Event

Show Event Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.Event

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

NFData Event Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.Event

Methods

rnf :: Event -> () #

Hashable Event Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.Event

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

FromJSON Event Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.Event

type Rep Event Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.Event

newEvent :: Event Source #

Create a value of Event 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:resourceCollection:Event', event_resourceCollection - Undocumented member.

$sel:eventClass:Event', event_eventClass - The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.

$sel:time:Event', event_time - A Timestamp that specifies the time the event occurred.

$sel:resources:Event', event_resources - An EventResource object that contains information about the resource that emitted the event.

$sel:name:Event', event_name - The name of the event.

$sel:id:Event', event_id - The ID of the event.

$sel:dataSource:Event', event_dataSource - The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found the event.

$sel:eventSource:Event', event_eventSource - The AWS source that emitted the event.

event_eventClass :: Lens' Event (Maybe EventClass) Source #

The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.

event_time :: Lens' Event (Maybe UTCTime) Source #

A Timestamp that specifies the time the event occurred.

event_resources :: Lens' Event (Maybe [EventResource]) Source #

An EventResource object that contains information about the resource that emitted the event.

event_name :: Lens' Event (Maybe Text) Source #

The name of the event.

event_id :: Lens' Event (Maybe Text) Source #

The ID of the event.

event_dataSource :: Lens' Event (Maybe EventDataSource) Source #

The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found the event.

event_eventSource :: Lens' Event (Maybe Text) Source #

The AWS source that emitted the event.