Skip to content

BatchGetIncidentFindings

Source: src/AWS/SSMIncidents/BatchGetIncidentFindings.ts

Runtime binding for ssm-incidents:BatchGetIncidentFindings.

Returns the details of the findings correlated with an incident — the CodeDeploy deployment or CloudFormation stack update suspected of causing it. Findings live under runtime incident-record ARNs, so the deploy-time grant is account-level (Resource: "*"). Provide the implementation with Effect.provide(AWS.SSMIncidents.BatchGetIncidentFindingsHttp).

// init
const batchGetIncidentFindings = yield* AWS.SSMIncidents.BatchGetIncidentFindings();
// runtime
const { findings } = yield* batchGetIncidentFindings({
incidentRecordArn,
findingIds,
});