| 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 |
Amazonka.SSMIncidents.Types.IncidentRecord
Description
Synopsis
- data IncidentRecord = IncidentRecord' {
- automationExecutions :: Maybe [AutomationExecution]
- chatChannel :: Maybe ChatChannel
- notificationTargets :: Maybe [NotificationTargetItem]
- resolvedTime :: Maybe POSIX
- summary :: Maybe Text
- 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_automationExecutions :: Lens' IncidentRecord (Maybe [AutomationExecution])
- incidentRecord_chatChannel :: Lens' IncidentRecord (Maybe ChatChannel)
- incidentRecord_notificationTargets :: Lens' IncidentRecord (Maybe [NotificationTargetItem])
- incidentRecord_resolvedTime :: Lens' IncidentRecord (Maybe UTCTime)
- incidentRecord_summary :: Lens' IncidentRecord (Maybe Text)
- 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.
Constructors
| IncidentRecord' | |
Fields
| |
Instances
Arguments
| :: 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:automationExecutions:IncidentRecord', incidentRecord_automationExecutions - The runbook, or automation document, that's run at the beginning of the
incident.
$sel:chatChannel:IncidentRecord', incidentRecord_chatChannel - The chat channel used for collaboration during an incident.
$sel:notificationTargets:IncidentRecord', incidentRecord_notificationTargets - The Amazon 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:summary:IncidentRecord', incidentRecord_summary - The summary of the incident. The summary is a brief synopsis of what
occurred, what's currently happening, and context 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 in the same account.
$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_automationExecutions :: Lens' IncidentRecord (Maybe [AutomationExecution]) Source #
The runbook, or automation document, that's run at the beginning of the incident.
incidentRecord_chatChannel :: Lens' IncidentRecord (Maybe ChatChannel) Source #
The chat channel used for collaboration during an incident.
incidentRecord_notificationTargets :: Lens' IncidentRecord (Maybe [NotificationTargetItem]) Source #
The Amazon 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_summary :: Lens' IncidentRecord (Maybe Text) Source #
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context 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 in the same account.
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.