Skip to content

ListRepositoryLinks

Source: src/AWS/CodeConnections/ListRepositoryLinks.ts

Runtime binding for codeconnections:ListRepositoryLinks.

An account-level operation (no repository-link argument) that enumerates the account’s repository links — the Git-sync attachments between a connection and a specific provider repository. Useful for sync dashboards that discover which repositories are wired up before drilling into their sync status. Provide the implementation with Effect.provide(AWS.CodeConnections.ListRepositoryLinksHttp).

// init — account-level binding takes no resource
const listRepositoryLinks =
yield* AWS.CodeConnections.ListRepositoryLinks();
// runtime
const result = yield* listRepositoryLinks();
const repos = (result.RepositoryLinks ?? []).map((l) => l.RepositoryName);