Skip to content

ListAssociatedResources

Source: src/AWS/AppRegistry/ListAssociatedResources.ts

Runtime binding for servicecatalog:ListAssociatedResources.

Pages through the resources associated with the bound application. Provide the implementation with Effect.provide(AWS.AppRegistry.ListAssociatedResourcesHttp).

// init — bind the operation to the application
const listAssociatedResources =
yield* AWS.AppRegistry.ListAssociatedResources(app);
// runtime
const page = yield* listAssociatedResources({ maxResults: 25 });
console.log(page.resources?.map((r) => r.arn));