| 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.SSMContacts.DescribeEngagement
Description
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' {
- incidentId :: Maybe Text
- publicContent :: Maybe Text
- publicSubject :: Maybe Text
- startTime :: Maybe POSIX
- stopTime :: Maybe POSIX
- httpStatus :: Int
- contactArn :: Text
- engagementArn :: Text
- sender :: Text
- subject :: Text
- content :: Text
- newDescribeEngagementResponse :: Int -> Text -> Text -> Text -> Text -> Text -> DescribeEngagementResponse
- describeEngagementResponse_incidentId :: Lens' DescribeEngagementResponse (Maybe Text)
- describeEngagementResponse_publicContent :: Lens' DescribeEngagementResponse (Maybe Text)
- describeEngagementResponse_publicSubject :: Lens' DescribeEngagementResponse (Maybe Text)
- describeEngagementResponse_startTime :: Lens' DescribeEngagementResponse (Maybe UTCTime)
- describeEngagementResponse_stopTime :: Lens' DescribeEngagementResponse (Maybe UTCTime)
- 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.
Constructors
| DescribeEngagement' | |
Fields
| |
Instances
newDescribeEngagement Source #
Arguments
| :: Text | |
| -> DescribeEngagement |
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.
Constructors
| DescribeEngagementResponse' | |
Fields
| |
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:
DescribeEngagementResponse, describeEngagementResponse_incidentId - The ARN of the incident in which the engagement occurred.
$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:publicSubject:DescribeEngagementResponse', describeEngagementResponse_publicSubject - The insecure subject of the message that was sent to the contact. Use
this field for engagements to SMS.
DescribeEngagementResponse, describeEngagementResponse_startTime - The time that the engagement started.
DescribeEngagementResponse, describeEngagementResponse_stopTime - The time that the engagement ended.
$sel:httpStatus:DescribeEngagementResponse', describeEngagementResponse_httpStatus - The response's http status code.
DescribeEngagementResponse, describeEngagementResponse_contactArn - The ARN of the escalation plan or contacts involved in the engagement.
DescribeEngagementResponse, describeEngagementResponse_engagementArn - The ARN of the engagement.
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_incidentId :: Lens' DescribeEngagementResponse (Maybe Text) Source #
The ARN of the incident in which the engagement occurred.
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_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_stopTime :: Lens' DescribeEngagementResponse (Maybe UTCTime) Source #
The time that the engagement ended.
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.