libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.Types.TriggerDetails

Description

 
Synopsis

Documentation

data TriggerDetails Source #

Details about what caused the incident to be created in Incident Manager.

See: newTriggerDetails smart constructor.

Constructors

TriggerDetails' 

Fields

  • rawData :: Maybe Text

    Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.

  • triggerArn :: Maybe Text

    The ARN of the source that detected the incident.

  • source :: Text

    Identifies the service that sourced the event. All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.

  • timestamp :: POSIX

    The time that the incident was detected.

Instances

Instances details
Eq TriggerDetails Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.TriggerDetails

Read TriggerDetails Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.TriggerDetails

Show TriggerDetails Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.TriggerDetails

Generic TriggerDetails Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.TriggerDetails

Associated Types

type Rep TriggerDetails :: Type -> Type #

NFData TriggerDetails Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.TriggerDetails

Methods

rnf :: TriggerDetails -> () #

Hashable TriggerDetails Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.TriggerDetails

ToJSON TriggerDetails Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.TriggerDetails

type Rep TriggerDetails Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.TriggerDetails

type Rep TriggerDetails = D1 ('MetaData "TriggerDetails" "Amazonka.SSMIncidents.Types.TriggerDetails" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "TriggerDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "rawData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "triggerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newTriggerDetails Source #

Create a value of TriggerDetails 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:rawData:TriggerDetails', triggerDetails_rawData - Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.

$sel:triggerArn:TriggerDetails', triggerDetails_triggerArn - The ARN of the source that detected the incident.

$sel:source:TriggerDetails', triggerDetails_source - Identifies the service that sourced the event. All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.

$sel:timestamp:TriggerDetails', triggerDetails_timestamp - The time that the incident was detected.

triggerDetails_rawData :: Lens' TriggerDetails (Maybe Text) Source #

Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.

triggerDetails_triggerArn :: Lens' TriggerDetails (Maybe Text) Source #

The ARN of the source that detected the incident.

triggerDetails_source :: Lens' TriggerDetails Text Source #

Identifies the service that sourced the event. All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.

triggerDetails_timestamp :: Lens' TriggerDetails UTCTime Source #

The time that the incident was detected.