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 |
Incident Manager uses engagements to engage contacts and escalation plans during an incident. Use this command to describe the engagement that occurred during an incident.
Synopsis
- data DescribeEngagement = DescribeEngagement' {
- engagementId :: Text
- newDescribeEngagement :: Text -> DescribeEngagement
- describeEngagement_engagementId :: Lens' DescribeEngagement Text
- data DescribeEngagementResponse = DescribeEngagementResponse' {
- publicSubject :: Maybe Text
- startTime :: Maybe POSIX
- publicContent :: Maybe Text
- stopTime :: Maybe POSIX
- incidentId :: Maybe Text
- httpStatus :: Int
- contactArn :: Text
- engagementArn :: Text
- sender :: Text
- subject :: Text
- content :: Text
- newDescribeEngagementResponse :: Int -> Text -> Text -> Text -> Text -> Text -> DescribeEngagementResponse
- describeEngagementResponse_publicSubject :: Lens' DescribeEngagementResponse (Maybe Text)
- describeEngagementResponse_startTime :: Lens' DescribeEngagementResponse (Maybe UTCTime)
- describeEngagementResponse_publicContent :: Lens' DescribeEngagementResponse (Maybe Text)
- describeEngagementResponse_stopTime :: Lens' DescribeEngagementResponse (Maybe UTCTime)
- describeEngagementResponse_incidentId :: Lens' DescribeEngagementResponse (Maybe Text)
- describeEngagementResponse_httpStatus :: Lens' DescribeEngagementResponse Int
- describeEngagementResponse_contactArn :: Lens' DescribeEngagementResponse Text
- describeEngagementResponse_engagementArn :: Lens' DescribeEngagementResponse Text
- describeEngagementResponse_sender :: Lens' DescribeEngagementResponse Text
- describeEngagementResponse_subject :: Lens' DescribeEngagementResponse Text
- describeEngagementResponse_content :: Lens' DescribeEngagementResponse Text
Creating a Request
data DescribeEngagement Source #
See: newDescribeEngagement
smart constructor.
DescribeEngagement' | |
|
Instances
newDescribeEngagement Source #
Create a value of DescribeEngagement
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:engagementId:DescribeEngagement'
, describeEngagement_engagementId
- The Amazon Resource Name (ARN) of the engagement you want the details
of.
Request Lenses
describeEngagement_engagementId :: Lens' DescribeEngagement Text Source #
The Amazon Resource Name (ARN) of the engagement you want the details of.
Destructuring the Response
data DescribeEngagementResponse Source #
See: newDescribeEngagementResponse
smart constructor.
DescribeEngagementResponse' | |
|
Instances
newDescribeEngagementResponse Source #
Create a value of DescribeEngagementResponse
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:publicSubject:DescribeEngagementResponse'
, describeEngagementResponse_publicSubject
- The insecure subject of the message that was sent to the contact. Use
this field for engagements to SMS
.
$sel:startTime:DescribeEngagementResponse'
, describeEngagementResponse_startTime
- The time that the engagement started.
$sel:publicContent:DescribeEngagementResponse'
, describeEngagementResponse_publicContent
- The insecure content of the message that was sent to the contact. Use
this field for engagements to SMS
.
$sel:stopTime:DescribeEngagementResponse'
, describeEngagementResponse_stopTime
- The time that the engagement ended.
$sel:incidentId:DescribeEngagementResponse'
, describeEngagementResponse_incidentId
- The ARN of the incident in which the engagement occurred.
$sel:httpStatus:DescribeEngagementResponse'
, describeEngagementResponse_httpStatus
- The response's http status code.
$sel:contactArn:DescribeEngagementResponse'
, describeEngagementResponse_contactArn
- The ARN of the escalation plan or contacts involved in the engagement.
$sel:engagementArn:DescribeEngagementResponse'
, describeEngagementResponse_engagementArn
- The ARN of the engagement.
$sel:sender:DescribeEngagementResponse'
, describeEngagementResponse_sender
- The user that started the engagement.
$sel:subject:DescribeEngagementResponse'
, describeEngagementResponse_subject
- The secure subject of the message that was sent to the contact. Use this
field for engagements to VOICE
and EMAIL
.
$sel:content:DescribeEngagementResponse'
, describeEngagementResponse_content
- The secure content of the message that was sent to the contact. Use this
field for engagements to VOICE
and EMAIL
.
Response Lenses
describeEngagementResponse_publicSubject :: Lens' DescribeEngagementResponse (Maybe Text) Source #
The insecure subject of the message that was sent to the contact. Use
this field for engagements to SMS
.
describeEngagementResponse_startTime :: Lens' DescribeEngagementResponse (Maybe UTCTime) Source #
The time that the engagement started.
describeEngagementResponse_publicContent :: Lens' DescribeEngagementResponse (Maybe Text) Source #
The insecure content of the message that was sent to the contact. Use
this field for engagements to SMS
.
describeEngagementResponse_stopTime :: Lens' DescribeEngagementResponse (Maybe UTCTime) Source #
The time that the engagement ended.
describeEngagementResponse_incidentId :: Lens' DescribeEngagementResponse (Maybe Text) Source #
The ARN of the incident in which the engagement occurred.
describeEngagementResponse_httpStatus :: Lens' DescribeEngagementResponse Int Source #
The response's http status code.
describeEngagementResponse_contactArn :: Lens' DescribeEngagementResponse Text Source #
The ARN of the escalation plan or contacts involved in the engagement.
describeEngagementResponse_engagementArn :: Lens' DescribeEngagementResponse Text Source #
The ARN of the engagement.
describeEngagementResponse_sender :: Lens' DescribeEngagementResponse Text Source #
The user that started the engagement.
describeEngagementResponse_subject :: Lens' DescribeEngagementResponse Text Source #
The secure subject of the message that was sent to the contact. Use this
field for engagements to VOICE
and EMAIL
.
describeEngagementResponse_content :: Lens' DescribeEngagementResponse Text Source #
The secure content of the message that was sent to the contact. Use this
field for engagements to VOICE
and EMAIL
.