libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.Types.ServiceEvent

Description

 
Synopsis

Documentation

data ServiceEvent Source #

Details on an event associated with a service.

See: newServiceEvent smart constructor.

Constructors

ServiceEvent' 

Fields

Instances

Instances details
Eq ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

Read ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

Show ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

Generic ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

Associated Types

type Rep ServiceEvent :: Type -> Type #

NFData ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

Methods

rnf :: ServiceEvent -> () #

Hashable ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

FromJSON ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

type Rep ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

type Rep ServiceEvent = D1 ('MetaData "ServiceEvent" "Amazonka.ECS.Types.ServiceEvent" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "ServiceEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newServiceEvent :: ServiceEvent Source #

Create a value of ServiceEvent 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:createdAt:ServiceEvent', serviceEvent_createdAt - The Unix timestamp for when the event was triggered.

$sel:id:ServiceEvent', serviceEvent_id - The ID string of the event.

$sel:message:ServiceEvent', serviceEvent_message - The event message.

serviceEvent_createdAt :: Lens' ServiceEvent (Maybe UTCTime) Source #

The Unix timestamp for when the event was triggered.

serviceEvent_id :: Lens' ServiceEvent (Maybe Text) Source #

The ID string of the event.