Skip to content

ListRelatedItems

Source: src/AWS/SSMIncidents/ListRelatedItems.ts

Runtime binding for ssm-incidents:ListRelatedItems.

Lists the related items of an incident — attached metrics, runbook executions, parent tickets, and links. Related items live under runtime incident-record ARNs, so the deploy-time grant is account-level (Resource: "*"). Provide the implementation with Effect.provide(AWS.SSMIncidents.ListRelatedItemsHttp).

// init
const listRelatedItems = yield* AWS.SSMIncidents.ListRelatedItems();
// runtime
const { relatedItems } = yield* listRelatedItems({ incidentRecordArn });