| 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.GetTimelineEvent
Description
Retrieves a timeline event based on its ID and incident record.
Synopsis
- data GetTimelineEvent = GetTimelineEvent' {
- eventId :: Text
- incidentRecordArn :: Text
- newGetTimelineEvent :: Text -> Text -> GetTimelineEvent
- getTimelineEvent_eventId :: Lens' GetTimelineEvent Text
- getTimelineEvent_incidentRecordArn :: Lens' GetTimelineEvent Text
- data GetTimelineEventResponse = GetTimelineEventResponse' {
- httpStatus :: Int
- event :: TimelineEvent
- newGetTimelineEventResponse :: Int -> TimelineEvent -> GetTimelineEventResponse
- getTimelineEventResponse_httpStatus :: Lens' GetTimelineEventResponse Int
- getTimelineEventResponse_event :: Lens' GetTimelineEventResponse TimelineEvent
Creating a Request
data GetTimelineEvent Source #
See: newGetTimelineEvent smart constructor.
Constructors
| GetTimelineEvent' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetTimelineEvent |
Create a value of GetTimelineEvent 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:
GetTimelineEvent, getTimelineEvent_eventId - The ID of the event. You can get an event's ID when you create it, or
by using ListTimelineEvents.
GetTimelineEvent, getTimelineEvent_incidentRecordArn - The Amazon Resource Name (ARN) of the incident that includes the
timeline event.
Request Lenses
getTimelineEvent_eventId :: Lens' GetTimelineEvent Text Source #
The ID of the event. You can get an event's ID when you create it, or
by using ListTimelineEvents.
getTimelineEvent_incidentRecordArn :: Lens' GetTimelineEvent Text Source #
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
Destructuring the Response
data GetTimelineEventResponse Source #
See: newGetTimelineEventResponse smart constructor.
Constructors
| GetTimelineEventResponse' | |
Fields
| |
Instances
newGetTimelineEventResponse Source #
Arguments
| :: Int | |
| -> TimelineEvent | |
| -> GetTimelineEventResponse |
Create a value of GetTimelineEventResponse 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:GetTimelineEventResponse', getTimelineEventResponse_httpStatus - The response's http status code.
$sel:event:GetTimelineEventResponse', getTimelineEventResponse_event - Details about the timeline event.
Response Lenses
getTimelineEventResponse_httpStatus :: Lens' GetTimelineEventResponse Int Source #
The response's http status code.
getTimelineEventResponse_event :: Lens' GetTimelineEventResponse TimelineEvent Source #
Details about the timeline event.