Skip to content

DeleteIncidentRecord

Source: src/AWS/SSMIncidents/DeleteIncidentRecord.ts

Runtime binding for ssm-incidents:DeleteIncidentRecord.

Deletes an incident record (idempotent — deleting a record that does not exist succeeds). Incident-record ARNs only exist at runtime, so the deploy-time grant is account-level (Resource: "*"). Provide the implementation with Effect.provide(AWS.SSMIncidents.DeleteIncidentRecordHttp).

// init
const deleteIncidentRecord = yield* AWS.SSMIncidents.DeleteIncidentRecord();
// runtime
yield* deleteIncidentRecord({ arn: incidentRecordArn });