Skip to content

GetTimelineEvent

Source: src/AWS/SSMIncidents/GetTimelineEvent.ts

Runtime binding for ssm-incidents:GetTimelineEvent.

Returns one timeline event of an incident by event id. Timeline events live under runtime incident-record ARNs, so the deploy-time grant is account-level (Resource: "*"). Provide the implementation with Effect.provide(AWS.SSMIncidents.GetTimelineEventHttp).

// init
const getTimelineEvent = yield* AWS.SSMIncidents.GetTimelineEvent();
// runtime
const { event } = yield* getTimelineEvent({ incidentRecordArn, eventId });