Skip to content

DeleteTimelineEvent

Source: src/AWS/SSMIncidents/DeleteTimelineEvent.ts

Runtime binding for ssm-incidents:DeleteTimelineEvent.

Deletes a custom timeline event from an incident (idempotent — deleting an event that does not exist succeeds). 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.DeleteTimelineEventHttp).

// init
const deleteTimelineEvent = yield* AWS.SSMIncidents.DeleteTimelineEvent();
// runtime
yield* deleteTimelineEvent({ incidentRecordArn, eventId });