libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.Types.LifecycleEvent

Description

 
Synopsis

Documentation

data LifecycleEvent Source #

Information about a deployment lifecycle event.

See: newLifecycleEvent smart constructor.

Constructors

LifecycleEvent' 

Fields

  • status :: Maybe LifecycleEventStatus

    The deployment lifecycle event status:

    • Pending: The deployment lifecycle event is pending.
    • InProgress: The deployment lifecycle event is in progress.
    • Succeeded: The deployment lifecycle event ran successfully.
    • Failed: The deployment lifecycle event has failed.
    • Skipped: The deployment lifecycle event has been skipped.
    • Unknown: The deployment lifecycle event is unknown.
  • lifecycleEventName :: Maybe Text

    The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.

  • startTime :: Maybe POSIX

    A timestamp that indicates when the deployment lifecycle event started.

  • diagnostics :: Maybe Diagnostics

    Diagnostic information about the deployment lifecycle event.

  • endTime :: Maybe POSIX

    A timestamp that indicates when the deployment lifecycle event ended.

Instances

Instances details
Eq LifecycleEvent Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LifecycleEvent

Read LifecycleEvent Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LifecycleEvent

Show LifecycleEvent Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LifecycleEvent

Generic LifecycleEvent Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LifecycleEvent

Associated Types

type Rep LifecycleEvent :: Type -> Type #

NFData LifecycleEvent Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LifecycleEvent

Methods

rnf :: LifecycleEvent -> () #

Hashable LifecycleEvent Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LifecycleEvent

FromJSON LifecycleEvent Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LifecycleEvent

type Rep LifecycleEvent Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LifecycleEvent

type Rep LifecycleEvent = D1 ('MetaData "LifecycleEvent" "Amazonka.CodeDeploy.Types.LifecycleEvent" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "LifecycleEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LifecycleEventStatus)) :*: S1 ('MetaSel ('Just "lifecycleEventName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Diagnostics)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newLifecycleEvent :: LifecycleEvent Source #

Create a value of LifecycleEvent 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:status:LifecycleEvent', lifecycleEvent_status - The deployment lifecycle event status:

  • Pending: The deployment lifecycle event is pending.
  • InProgress: The deployment lifecycle event is in progress.
  • Succeeded: The deployment lifecycle event ran successfully.
  • Failed: The deployment lifecycle event has failed.
  • Skipped: The deployment lifecycle event has been skipped.
  • Unknown: The deployment lifecycle event is unknown.

$sel:lifecycleEventName:LifecycleEvent', lifecycleEvent_lifecycleEventName - The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.

$sel:startTime:LifecycleEvent', lifecycleEvent_startTime - A timestamp that indicates when the deployment lifecycle event started.

$sel:diagnostics:LifecycleEvent', lifecycleEvent_diagnostics - Diagnostic information about the deployment lifecycle event.

$sel:endTime:LifecycleEvent', lifecycleEvent_endTime - A timestamp that indicates when the deployment lifecycle event ended.

lifecycleEvent_status :: Lens' LifecycleEvent (Maybe LifecycleEventStatus) Source #

The deployment lifecycle event status:

  • Pending: The deployment lifecycle event is pending.
  • InProgress: The deployment lifecycle event is in progress.
  • Succeeded: The deployment lifecycle event ran successfully.
  • Failed: The deployment lifecycle event has failed.
  • Skipped: The deployment lifecycle event has been skipped.
  • Unknown: The deployment lifecycle event is unknown.

lifecycleEvent_lifecycleEventName :: Lens' LifecycleEvent (Maybe Text) Source #

The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.

lifecycleEvent_startTime :: Lens' LifecycleEvent (Maybe UTCTime) Source #

A timestamp that indicates when the deployment lifecycle event started.

lifecycleEvent_diagnostics :: Lens' LifecycleEvent (Maybe Diagnostics) Source #

Diagnostic information about the deployment lifecycle event.

lifecycleEvent_endTime :: Lens' LifecycleEvent (Maybe UTCTime) Source #

A timestamp that indicates when the deployment lifecycle event ended.