Skip to content

ListServiceLevelObjectives

Source: src/AWS/ApplicationSignals/ListServiceLevelObjectives.ts

Runtime binding for application-signals:ListServiceLevelObjectives.

Lists the service level objectives in this account, optionally filtered by service key attributes, operation name, or dependency config. Provide the implementation with Effect.provide(AWS.ApplicationSignals.ListServiceLevelObjectivesHttp).

// init — account-level, no resource argument
const listSlos = yield* AWS.ApplicationSignals.ListServiceLevelObjectives();
// runtime
const page = yield* listSlos({});
for (const slo of page.SloSummaries) {
yield* Effect.log(`${slo.Name}: ${slo.Arn}`);
}