Skip to content

GetIncidentRecord

Source: src/AWS/SSMIncidents/GetIncidentRecord.ts

Runtime binding for ssm-incidents:GetIncidentRecord.

Returns the details of an incident record — title, impact, status, chat channel, and notification targets. Incident-record ARNs only exist at runtime, so the deploy-time grant is account-level (Resource: "*"). Provide the implementation with Effect.provide(AWS.SSMIncidents.GetIncidentRecordHttp).

// init
const getIncidentRecord = yield* AWS.SSMIncidents.GetIncidentRecord();
// runtime
const { incidentRecord } = yield* getIncidentRecord({ arn: incidentRecordArn });