Skip to content

UpdateIncidentRecord

Source: src/AWS/SSMIncidents/UpdateIncidentRecord.ts

Runtime binding for ssm-incidents:UpdateIncidentRecord.

Updates the details of an incident record — retitle, change impact, or resolve the incident by setting status: "RESOLVED". Incident-record ARNs only exist at runtime, so the deploy-time grant is account-level (Resource: "*"). Provide the implementation with Effect.provide(AWS.SSMIncidents.UpdateIncidentRecordHttp).

// init
const updateIncidentRecord = yield* AWS.SSMIncidents.UpdateIncidentRecord();
// runtime
yield* updateIncidentRecord({ arn: incidentRecordArn, status: "RESOLVED" });