amazonka-appconfig-2.0: Amazon AppConfig 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.AppConfig.Types.DeploymentEvent

Description

 
Synopsis

Documentation

data DeploymentEvent Source #

An object that describes a deployment event.

See: newDeploymentEvent smart constructor.

Constructors

DeploymentEvent' 

Fields

  • actionInvocations :: Maybe [ActionInvocation]

    The list of extensions that were invoked as part of the deployment.

  • description :: Maybe Text

    A description of the deployment event. Descriptions include, but are not limited to, the user account or the Amazon CloudWatch alarm ARN that initiated a rollback, the percentage of hosts that received the deployment, or in the case of an internal error, a recommendation to attempt a new deployment.

  • eventType :: Maybe DeploymentEventType

    The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.

  • occurredAt :: Maybe ISO8601

    The date and time the event occurred.

  • triggeredBy :: Maybe TriggeredBy

    The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.

Instances

Instances details
FromJSON DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

Generic DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

Associated Types

type Rep DeploymentEvent :: Type -> Type #

Read DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

Show DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

NFData DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

Methods

rnf :: DeploymentEvent -> () #

Eq DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

Hashable DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

type Rep DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

type Rep DeploymentEvent = D1 ('MetaData "DeploymentEvent" "Amazonka.AppConfig.Types.DeploymentEvent" "amazonka-appconfig-2.0-KxEFpSAUlWtLf1lFyPWujo" 'False) (C1 ('MetaCons "DeploymentEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "actionInvocations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ActionInvocation])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentEventType)) :*: (S1 ('MetaSel ('Just "occurredAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "triggeredBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TriggeredBy))))))

newDeploymentEvent :: DeploymentEvent Source #

Create a value of DeploymentEvent 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:actionInvocations:DeploymentEvent', deploymentEvent_actionInvocations - The list of extensions that were invoked as part of the deployment.

$sel:description:DeploymentEvent', deploymentEvent_description - A description of the deployment event. Descriptions include, but are not limited to, the user account or the Amazon CloudWatch alarm ARN that initiated a rollback, the percentage of hosts that received the deployment, or in the case of an internal error, a recommendation to attempt a new deployment.

$sel:eventType:DeploymentEvent', deploymentEvent_eventType - The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.

$sel:occurredAt:DeploymentEvent', deploymentEvent_occurredAt - The date and time the event occurred.

$sel:triggeredBy:DeploymentEvent', deploymentEvent_triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.

deploymentEvent_actionInvocations :: Lens' DeploymentEvent (Maybe [ActionInvocation]) Source #

The list of extensions that were invoked as part of the deployment.

deploymentEvent_description :: Lens' DeploymentEvent (Maybe Text) Source #

A description of the deployment event. Descriptions include, but are not limited to, the user account or the Amazon CloudWatch alarm ARN that initiated a rollback, the percentage of hosts that received the deployment, or in the case of an internal error, a recommendation to attempt a new deployment.

deploymentEvent_eventType :: Lens' DeploymentEvent (Maybe DeploymentEventType) Source #

The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.

deploymentEvent_occurredAt :: Lens' DeploymentEvent (Maybe UTCTime) Source #

The date and time the event occurred.

deploymentEvent_triggeredBy :: Lens' DeploymentEvent (Maybe TriggeredBy) Source #

The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.