Skip to content

GetTableRestoreStatus

Source: src/AWS/RedshiftServerless/GetTableRestoreStatus.ts

Runtime binding for the GetTableRestoreStatus operation (IAM actions redshift-serverless:GetTableRestoreStatus).

Polls one table-restore request started with RestoreTableFromSnapshot or RestoreTableFromRecoveryPoint. Provide the implementation with Effect.provide(AWS.RedshiftServerless.GetTableRestoreStatusHttp).

// init — resolve the runtime client
const getTableRestoreStatus = yield* AWS.RedshiftServerless.GetTableRestoreStatus();
const { tableRestoreStatus } = yield* getTableRestoreStatus({
tableRestoreRequestId,
});