DescribeRefreshSchemasStatus
Source:
src/AWS/DMS/DescribeRefreshSchemasStatus.ts
Runtime binding for dms:DescribeRefreshSchemasStatus.
Bind this operation to an Endpoint to poll the status of the last
RefreshSchemas run against it (refreshing, successful, failed).
Provide the implementation with
Effect.provide(AWS.DMS.DescribeRefreshSchemasStatusHttp).
Polling a Schema Refresh
Section titled “Polling a Schema Refresh”// init — bind the operation to the endpointconst refreshStatus = yield* AWS.DMS.DescribeRefreshSchemasStatus(source);
// runtimeconst { RefreshSchemasStatus } = yield* refreshStatus();if (RefreshSchemasStatus?.Status === "successful") { // schemas are ready to describe}