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 Engagement = Engagement' {
- startTime :: Maybe POSIX
- stopTime :: Maybe POSIX
- incidentId :: Maybe Text
- engagementArn :: Text
- contactArn :: Text
- sender :: Text
- newEngagement :: Text -> Text -> Text -> Engagement
- engagement_startTime :: Lens' Engagement (Maybe UTCTime)
- engagement_stopTime :: Lens' Engagement (Maybe UTCTime)
- engagement_incidentId :: Lens' Engagement (Maybe Text)
- engagement_engagementArn :: Lens' Engagement Text
- engagement_contactArn :: Lens' Engagement Text
- engagement_sender :: Lens' Engagement Text
Documentation
data Engagement Source #
Incident Manager reaching out to a contact or escalation plan to engage contact during an incident.
See: newEngagement
smart constructor.
Engagement' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Engagement |
Create a value of Engagement
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:startTime:Engagement'
, engagement_startTime
- The time that the engagement began.
$sel:stopTime:Engagement'
, engagement_stopTime
- The time that the engagement ended.
$sel:incidentId:Engagement'
, engagement_incidentId
- The ARN of the incident that's engaging the contact.
$sel:engagementArn:Engagement'
, engagement_engagementArn
- The Amazon Resource Name (ARN) of the engagement.
$sel:contactArn:Engagement'
, engagement_contactArn
- The ARN of the escalation plan or contact that Incident Manager is
engaging.
$sel:sender:Engagement'
, engagement_sender
- The user that started the engagement.
engagement_startTime :: Lens' Engagement (Maybe UTCTime) Source #
The time that the engagement began.
engagement_stopTime :: Lens' Engagement (Maybe UTCTime) Source #
The time that the engagement ended.
engagement_incidentId :: Lens' Engagement (Maybe Text) Source #
The ARN of the incident that's engaging the contact.
engagement_engagementArn :: Lens' Engagement Text Source #
The Amazon Resource Name (ARN) of the engagement.
engagement_contactArn :: Lens' Engagement Text Source #
The ARN of the escalation plan or contact that Incident Manager is engaging.
engagement_sender :: Lens' Engagement Text Source #
The user that started the engagement.