GetTableMaintenanceJobStatus
Source:
src/AWS/S3Tables/GetTableMaintenanceJobStatus.ts
Runtime binding for the GetTableMaintenanceJobStatus operation (IAM
action s3tables:GetTableMaintenanceJobStatus on the table ARN).
Reads the status of the bound Table’s managed maintenance jobs —
Iceberg compaction and snapshot management — including when each job last
ran and whether it succeeded. Useful for compute that monitors table
health at runtime. Provide the implementation with
Effect.provide(AWS.S3Tables.GetTableMaintenanceJobStatusHttp).
Monitoring Maintenance
Section titled “Monitoring Maintenance”const getTableMaintenanceJobStatus = yield* AWS.S3Tables.GetTableMaintenanceJobStatus(table);
const { status } = yield* getTableMaintenanceJobStatus();for (const [job, state] of Object.entries(status)) { yield* Effect.log(`${job}: ${state?.status}`);}