amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.Types.ServiceEvent

Description

 
Synopsis

Documentation

data ServiceEvent Source #

The details for an event that's associated with a service.

See: newServiceEvent smart constructor.

Constructors

ServiceEvent' 

Fields

Instances

Instances details
FromJSON 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 #

Read ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

Show ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

NFData ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

Methods

rnf :: ServiceEvent -> () #

Eq ServiceEvent Source # 
Instance details

Defined in Amazonka.ECS.Types.ServiceEvent

Hashable 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" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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 the time when the event was triggered.

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

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

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

The Unix timestamp for the time when the event was triggered.

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

The ID string for the event.