Skip to content

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).

// init — bind the operation to the endpoint
const refreshStatus = yield* AWS.DMS.DescribeRefreshSchemasStatus(source);
// runtime
const { RefreshSchemasStatus } = yield* refreshStatus();
if (RefreshSchemasStatus?.Status === "successful") {
// schemas are ready to describe
}