libZSservicesZSamazonka-appconfigZSamazonka-appconfig
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.AppConfig.Types.DeploymentEvent

Description

 
Synopsis

Documentation

data DeploymentEvent Source #

An object that describes a deployment event.

See: newDeploymentEvent smart constructor.

Constructors

DeploymentEvent' 

Fields

  • triggeredBy :: Maybe TriggeredBy

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

  • occurredAt :: Maybe POSIX

    The date and time the event occurred.

  • 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; the start or completion of a rollback.

  • description :: Maybe Text

    A description of the deployment event. Descriptions include, but are not limited to, the user account or the 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.

Instances

Instances details
Eq DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

Read DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

Show 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 #

NFData DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

Methods

rnf :: DeploymentEvent -> () #

Hashable DeploymentEvent Source # 
Instance details

Defined in Amazonka.AppConfig.Types.DeploymentEvent

FromJSON 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" "libZSservicesZSamazonka-appconfigZSamazonka-appconfig" 'False) (C1 ('MetaCons "DeploymentEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "triggeredBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TriggeredBy)) :*: S1 ('MetaSel ('Just "occurredAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentEventType)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:triggeredBy:DeploymentEvent', deploymentEvent_triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AWS AppConfig, an Amazon CloudWatch alarm, or an internal error.

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

$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; the start or completion of a rollback.

$sel:description:DeploymentEvent', deploymentEvent_description - A description of the deployment event. Descriptions include, but are not limited to, the user account or the 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_triggeredBy :: Lens' DeploymentEvent (Maybe TriggeredBy) Source #

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

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

The date and time the event occurred.

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; the start or completion of a rollback.

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 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.