| 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.DeleteTimelineEvent
Description
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.
Constructors
| DeleteTimelineEvent' | |
Fields
| |
Instances
newDeleteTimelineEvent Source #
Arguments
| :: 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:
DeleteTimelineEvent, deleteTimelineEvent_eventId - The ID of the event you are updating. You can find this by using
ListTimelineEvents.
DeleteTimelineEvent, deleteTimelineEvent_incidentRecordArn - The Amazon Resource Name (ARN) of the incident that includes the
timeline event.
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 includes the timeline event.
Destructuring the Response
data DeleteTimelineEventResponse Source #
See: newDeleteTimelineEventResponse smart constructor.
Constructors
| DeleteTimelineEventResponse' | |
Fields
| |
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.