| 1 | import * as incidents from "@distilled.cloud/aws/ssm-incidents"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeIncidentsAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { UpdateIncidentRecord } from "./UpdateIncidentRecord.ts"; |
| 5 | |
| 6 | export const UpdateIncidentRecordHttp = Layer.effect( |
| 7 | UpdateIncidentRecord, |
| 8 | makeIncidentsAccountHttpBinding({ |
| 9 | tag: "AWS.SSMIncidents.UpdateIncidentRecord", |
| 10 | operation: incidents.updateIncidentRecord, |
| 11 | actions: ["ssm-incidents:UpdateIncidentRecord"], |
| 12 | }), |
| 13 | ); |