Skip to content

RefreshSchemas

Source: src/AWS/DMS/RefreshSchemas.ts

Runtime binding for dms:RefreshSchemas.

Bind this operation to a (ReplicationInstance, Endpoint) pair to (re)discover the schemas at the endpoint’s database using the instance’s compute. The refresh runs asynchronously — poll it with DescribeRefreshSchemasStatus, then list the result with DescribeSchemas. Provide the implementation with Effect.provide(AWS.DMS.RefreshSchemasHttp).

// init — bind the operation to the instance + endpoint
const refreshSchemas = yield* AWS.DMS.RefreshSchemas(instance, source);
// runtime
const { RefreshSchemasStatus } = yield* refreshSchemas();