GetServiceLevelObjective
Source:
src/AWS/ApplicationSignals/GetServiceLevelObjective.ts
Runtime binding for application-signals:GetServiceLevelObjective,
scoped to one ServiceLevelObjective.
Returns the bound SLO’s full configuration (SLI, goal, burn rates).
Provide the implementation with
Effect.provide(AWS.ApplicationSignals.GetServiceLevelObjectiveHttp).
Reading SLOs
Section titled “Reading SLOs”// init — bind the operation to the SLOconst getSlo = yield* AWS.ApplicationSignals.GetServiceLevelObjective(slo);
// runtime — the SLO's ARN is injected automaticallyconst result = yield* getSlo();yield* Effect.log(result.Slo.Goal.AttainmentGoal);