Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data IncidentRecord = IncidentRecord' {
- summary :: Maybe Text
- notificationTargets :: Maybe [NotificationTargetItem]
- resolvedTime :: Maybe POSIX
- chatChannel :: Maybe ChatChannel
- automationExecutions :: Maybe [AutomationExecution]
- arn :: Text
- creationTime :: POSIX
- dedupeString :: Text
- impact :: Natural
- incidentRecordSource :: IncidentRecordSource
- lastModifiedBy :: Text
- lastModifiedTime :: POSIX
- status :: IncidentRecordStatus
- title :: Text
- newIncidentRecord :: Text -> UTCTime -> Text -> Natural -> IncidentRecordSource -> Text -> UTCTime -> IncidentRecordStatus -> Text -> IncidentRecord
- incidentRecord_summary :: Lens' IncidentRecord (Maybe Text)
- incidentRecord_notificationTargets :: Lens' IncidentRecord (Maybe [NotificationTargetItem])
- incidentRecord_resolvedTime :: Lens' IncidentRecord (Maybe UTCTime)
- incidentRecord_chatChannel :: Lens' IncidentRecord (Maybe ChatChannel)
- incidentRecord_automationExecutions :: Lens' IncidentRecord (Maybe [AutomationExecution])
- incidentRecord_arn :: Lens' IncidentRecord Text
- incidentRecord_creationTime :: Lens' IncidentRecord UTCTime
- incidentRecord_dedupeString :: Lens' IncidentRecord Text
- incidentRecord_impact :: Lens' IncidentRecord Natural
- incidentRecord_incidentRecordSource :: Lens' IncidentRecord IncidentRecordSource
- incidentRecord_lastModifiedBy :: Lens' IncidentRecord Text
- incidentRecord_lastModifiedTime :: Lens' IncidentRecord UTCTime
- incidentRecord_status :: Lens' IncidentRecord IncidentRecordStatus
- incidentRecord_title :: Lens' IncidentRecord Text
Documentation
data IncidentRecord Source #
The record of the incident that's created when an incident occurs.
See: newIncidentRecord
smart constructor.
IncidentRecord' | |
|
Instances
:: Text | |
-> UTCTime | |
-> Text | |
-> Natural | |
-> IncidentRecordSource | |
-> Text | |
-> UTCTime | |
-> IncidentRecordStatus | |
-> Text | |
-> IncidentRecord |
Create a value of IncidentRecord
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:summary:IncidentRecord'
, incidentRecord_summary
- The summary of the incident. The summary is a brief synopsis of what
occurred, what is currently happening, and context.
$sel:notificationTargets:IncidentRecord'
, incidentRecord_notificationTargets
- The SNS targets that are notified when updates are made to an incident.
$sel:resolvedTime:IncidentRecord'
, incidentRecord_resolvedTime
- The time at which the incident was resolved. This appears as a timeline
event.
$sel:chatChannel:IncidentRecord'
, incidentRecord_chatChannel
- The chat channel used for collaboration during an incident.
$sel:automationExecutions:IncidentRecord'
, incidentRecord_automationExecutions
- The runbook, or automation document, that's run at the beginning of the
incident.
$sel:arn:IncidentRecord'
, incidentRecord_arn
- The Amazon Resource Name (ARN) of the incident record.
$sel:creationTime:IncidentRecord'
, incidentRecord_creationTime
- The time that Incident Manager created the incident record.
$sel:dedupeString:IncidentRecord'
, incidentRecord_dedupeString
- The string Incident Manager uses to prevent duplicate incidents from
being created by the same incident.
$sel:impact:IncidentRecord'
, incidentRecord_impact
- The impact of the incident on customers and applications.
$sel:incidentRecordSource:IncidentRecord'
, incidentRecord_incidentRecordSource
- Details about the action that started the incident.
$sel:lastModifiedBy:IncidentRecord'
, incidentRecord_lastModifiedBy
- Who modified the incident most recently.
$sel:lastModifiedTime:IncidentRecord'
, incidentRecord_lastModifiedTime
- The time at which the incident was most recently modified.
$sel:status:IncidentRecord'
, incidentRecord_status
- The current status of the incident.
$sel:title:IncidentRecord'
, incidentRecord_title
- The title of the incident.
incidentRecord_summary :: Lens' IncidentRecord (Maybe Text) Source #
The summary of the incident. The summary is a brief synopsis of what occurred, what is currently happening, and context.
incidentRecord_notificationTargets :: Lens' IncidentRecord (Maybe [NotificationTargetItem]) Source #
The SNS targets that are notified when updates are made to an incident.
incidentRecord_resolvedTime :: Lens' IncidentRecord (Maybe UTCTime) Source #
The time at which the incident was resolved. This appears as a timeline event.
incidentRecord_chatChannel :: Lens' IncidentRecord (Maybe ChatChannel) Source #
The chat channel used for collaboration during an incident.
incidentRecord_automationExecutions :: Lens' IncidentRecord (Maybe [AutomationExecution]) Source #
The runbook, or automation document, that's run at the beginning of the incident.
incidentRecord_arn :: Lens' IncidentRecord Text Source #
The Amazon Resource Name (ARN) of the incident record.
incidentRecord_creationTime :: Lens' IncidentRecord UTCTime Source #
The time that Incident Manager created the incident record.
incidentRecord_dedupeString :: Lens' IncidentRecord Text Source #
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident.
incidentRecord_impact :: Lens' IncidentRecord Natural Source #
The impact of the incident on customers and applications.
incidentRecord_incidentRecordSource :: Lens' IncidentRecord IncidentRecordSource Source #
Details about the action that started the incident.
incidentRecord_lastModifiedBy :: Lens' IncidentRecord Text Source #
Who modified the incident most recently.
incidentRecord_lastModifiedTime :: Lens' IncidentRecord UTCTime Source #
The time at which the incident was most recently modified.
incidentRecord_status :: Lens' IncidentRecord IncidentRecordStatus Source #
The current status of the incident.
incidentRecord_title :: Lens' IncidentRecord Text Source #
The title of the incident.