Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data TriggerDetails = TriggerDetails' {}
- newTriggerDetails :: Text -> UTCTime -> TriggerDetails
- triggerDetails_rawData :: Lens' TriggerDetails (Maybe Text)
- triggerDetails_triggerArn :: Lens' TriggerDetails (Maybe Text)
- triggerDetails_source :: Lens' TriggerDetails Text
- triggerDetails_timestamp :: Lens' TriggerDetails UTCTime
Documentation
data TriggerDetails Source #
Details about what caused the incident to be created in Incident Manager.
See: newTriggerDetails
smart constructor.
TriggerDetails' | |
|
Instances
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 Amazon EventBridge, Amazon CloudWatch, or
Incident Manager when an incident is created.
$sel:triggerArn:TriggerDetails'
, triggerDetails_triggerArn
- The Amazon Resource Name (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 Amazon Web Services 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 Amazon EventBridge, Amazon CloudWatch, or Incident Manager when an incident is created.
triggerDetails_triggerArn :: Lens' TriggerDetails (Maybe Text) Source #
The Amazon Resource Name (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 Amazon Web Services 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.