PauseService
Source:
src/AWS/AppRunner/PauseService.ts
Pause an App Runner Service from a Lambda (or other AWS runtime).
App Runner releases the service’s compute capacity (the endpoint stops
serving) while keeping its configuration — e.g. a nightly scheduler that
pauses non-production services to stop compute billing. The call is
asynchronous; pair with ListOperations or ResumeService.
Provide AppRunner.PauseServiceHttp on the hosting function’s Effect to
implement the binding.
Pausing and Resuming
Section titled “Pausing and Resuming”const pauseService = yield* AppRunner.PauseService(service);const { Service: paused } = yield* pauseService();// paused.Status -> "OPERATION_IN_PROGRESS" (settles to "PAUSED")