Skip to content

ListServiceStates

Source: src/AWS/ApplicationSignals/ListServiceStates.ts

Runtime binding for application-signals:ListServiceStates.

Returns the last deployment and other change states of discovered services — visibility into recent changes for troubleshooting and change correlation. Provide the implementation with Effect.provide(AWS.ApplicationSignals.ListServiceStatesHttp).

// init — account-level, no resource argument
const listServiceStates = yield* AWS.ApplicationSignals.ListServiceStates();
// runtime
const page = yield* listServiceStates({
StartTime: new Date(Date.now() - 24 * 3600_000),
EndTime: new Date(),
});