Skip to content

ListRepositorySyncDefinitions

Source: src/AWS/CodeConnections/ListRepositorySyncDefinitions.ts

Runtime binding for codeconnections:ListRepositorySyncDefinitions.

Bind this operation to a RepositoryLink to enumerate the sync definitions Git sync tracks for the link — branch, directory, and target per definition. Provide the implementation with Effect.provide(AWS.CodeConnections.ListRepositorySyncDefinitionsHttp).

// init — bind the operation to the repository link
const listRepositorySyncDefinitions =
yield* AWS.CodeConnections.ListRepositorySyncDefinitions(link);
// runtime
const { RepositorySyncDefinitions } =
yield* listRepositorySyncDefinitions({ SyncType: "CFN_STACK_SYNC" });