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 |
Deletes a timeline event from an incident.
Synopsis
- data DeleteTimelineEvent = DeleteTimelineEvent' {
- eventId :: Text
- incidentRecordArn :: Text
- newDeleteTimelineEvent :: Text -> Text -> DeleteTimelineEvent
- deleteTimelineEvent_eventId :: Lens' DeleteTimelineEvent Text
- deleteTimelineEvent_incidentRecordArn :: Lens' DeleteTimelineEvent Text
- data DeleteTimelineEventResponse = DeleteTimelineEventResponse' {
- httpStatus :: Int
- newDeleteTimelineEventResponse :: Int -> DeleteTimelineEventResponse
- deleteTimelineEventResponse_httpStatus :: Lens' DeleteTimelineEventResponse Int
Creating a Request
data DeleteTimelineEvent Source #
See: newDeleteTimelineEvent
smart constructor.
DeleteTimelineEvent' | |
|
Instances
newDeleteTimelineEvent Source #
:: Text | |
-> Text | |
-> DeleteTimelineEvent |
Create a value of DeleteTimelineEvent
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:eventId:DeleteTimelineEvent'
, deleteTimelineEvent_eventId
- The ID of the event you are updating. You can find this by using
ListTimelineEvents
.
$sel:incidentRecordArn:DeleteTimelineEvent'
, deleteTimelineEvent_incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that the event is part
of.
Request Lenses
deleteTimelineEvent_eventId :: Lens' DeleteTimelineEvent Text Source #
The ID of the event you are updating. You can find this by using
ListTimelineEvents
.
deleteTimelineEvent_incidentRecordArn :: Lens' DeleteTimelineEvent Text Source #
The Amazon Resource Name (ARN) of the incident that the event is part of.
Destructuring the Response
data DeleteTimelineEventResponse Source #
See: newDeleteTimelineEventResponse
smart constructor.
DeleteTimelineEventResponse' | |
|
Instances
newDeleteTimelineEventResponse Source #
Create a value of DeleteTimelineEventResponse
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:httpStatus:DeleteTimelineEventResponse'
, deleteTimelineEventResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTimelineEventResponse_httpStatus :: Lens' DeleteTimelineEventResponse Int Source #
The response's http status code.