ListIncidentRecords
Source:
src/AWS/SSMIncidents/ListIncidentRecords.ts
Runtime binding for ssm-incidents:ListIncidentRecords.
Lists the incident records in the account — the incidents started from any
response plan. Incident records are runtime entities (their ARNs embed the
response-plan name and a UUID that only exist once an incident starts), so
the deploy-time grant is account-level (Resource: "*").
Provide the implementation with
Effect.provide(AWS.SSMIncidents.ListIncidentRecordsHttp).
Reading Incident Records
Section titled “Reading Incident Records”// initconst listIncidentRecords = yield* AWS.SSMIncidents.ListIncidentRecords();
// runtimeconst { incidentRecordSummaries } = yield* listIncidentRecords({ filters: [{ key: "status", condition: { equals: { stringValues: ["OPEN"] } } }],});