UpdateRelatedItems
Source:
src/AWS/SSMIncidents/UpdateRelatedItems.ts
Runtime binding for ssm-incidents:UpdateRelatedItems.
Attaches or removes a related item on an incident — link the dashboard,
ticket, or runbook execution your automation is working from. 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.UpdateRelatedItemsHttp).
Related Items
Section titled “Related Items”// initconst updateRelatedItems = yield* AWS.SSMIncidents.UpdateRelatedItems();
// runtimeyield* updateRelatedItems({ incidentRecordArn, relatedItemsUpdate: { itemToAdd: { title: "Grafana dashboard", identifier: { type: "OTHER", value: { url: "https://grafana.example.com/d/abc" } }, }, },});