Skip to content

UpdateTimelineEvent

Source: src/AWS/SSMIncidents/UpdateTimelineEvent.ts

Runtime binding for ssm-incidents:UpdateTimelineEvent.

Updates a timeline event’s time, type, data, or references. 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.UpdateTimelineEventHttp).

// init
const updateTimelineEvent = yield* AWS.SSMIncidents.UpdateTimelineEvent();
// runtime
yield* updateTimelineEvent({
incidentRecordArn,
eventId,
eventData: JSON.stringify({ note: "mitigation confirmed" }),
});