libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm
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.OpsWorksCM.Types.ServerEvent

Description

 
Synopsis

Documentation

data ServerEvent Source #

An event that is related to the server, such as the start of maintenance or backup.

See: newServerEvent smart constructor.

Constructors

ServerEvent' 

Fields

Instances

Instances details
Eq ServerEvent Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.ServerEvent

Read ServerEvent Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.ServerEvent

Show ServerEvent Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.ServerEvent

Generic ServerEvent Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.ServerEvent

Associated Types

type Rep ServerEvent :: Type -> Type #

NFData ServerEvent Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.ServerEvent

Methods

rnf :: ServerEvent -> () #

Hashable ServerEvent Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.ServerEvent

FromJSON ServerEvent Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.ServerEvent

type Rep ServerEvent Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.ServerEvent

type Rep ServerEvent = D1 ('MetaData "ServerEvent" "Amazonka.OpsWorksCM.Types.ServerEvent" "libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm" 'False) (C1 ('MetaCons "ServerEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "logUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serverName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newServerEvent :: ServerEvent Source #

Create a value of ServerEvent 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:logUrl:ServerEvent', serverEvent_logUrl - The Amazon S3 URL of the event's log file.

$sel:serverName:ServerEvent', serverEvent_serverName - The name of the server on or for which the event occurred.

$sel:createdAt:ServerEvent', serverEvent_createdAt - The time when the event occurred.

$sel:message:ServerEvent', serverEvent_message - A human-readable informational or status message.

serverEvent_logUrl :: Lens' ServerEvent (Maybe Text) Source #

The Amazon S3 URL of the event's log file.

serverEvent_serverName :: Lens' ServerEvent (Maybe Text) Source #

The name of the server on or for which the event occurred.

serverEvent_createdAt :: Lens' ServerEvent (Maybe UTCTime) Source #

The time when the event occurred.

serverEvent_message :: Lens' ServerEvent (Maybe Text) Source #

A human-readable informational or status message.