Skip to content

DescribeConnections

Source: src/AWS/DMS/DescribeConnections.ts

Runtime binding for dms:DescribeConnections.

Bind this operation (account-level) to poll the results of connection tests started with TestConnection — filter by endpoint-arn or replication-instance-arn. Provide the implementation with Effect.provide(AWS.DMS.DescribeConnectionsHttp).

// init — account-level, no target resource
const describeConnections = yield* AWS.DMS.DescribeConnections();
// runtime
const { Connections } = yield* describeConnections({
Filters: [{ Name: "endpoint-arn", Values: [endpointArn] }],
});
// Connections[0].Status: "testing" | "successful" | "failed"