Skip to content

ListAttributeGroupsForApplication

Source: src/AWS/AppRegistry/ListAttributeGroupsForApplication.ts

Runtime binding for servicecatalog:ListAttributeGroupsForApplication.

Pages through the details (ID, ARN, name) of the attribute groups associated with the bound application. Provide the implementation with Effect.provide(AWS.AppRegistry.ListAttributeGroupsForApplicationHttp).

// init — bind the operation to the application
const listAttributeGroupsForApplication =
yield* AWS.AppRegistry.ListAttributeGroupsForApplication(app);
// runtime
const page = yield* listAttributeGroupsForApplication({ maxResults: 25 });
console.log(page.attributeGroupsDetails?.map((g) => g.name));