Skip to content

ListCostCategoryResourceAssociations

Source: src/AWS/CostExplorer/ListCostCategoryResourceAssociations.ts

Runtime binding for ce:ListCostCategoryResourceAssociations.

List the resources associated with the bound cost category’s values. The category’s ARN is injected into the request; the IAM grant is on * (the action supports no resource types). Provide the implementation with Effect.provide(AWS.CostExplorer.ListCostCategoryResourceAssociationsHttp).

// init — bind the operation to the cost category
const listCostCategoryResourceAssociations = yield* AWS.CostExplorer.ListCostCategoryResourceAssociations(category);
// runtime
const result = yield* listCostCategoryResourceAssociations();
const associations = result.CostCategoryResourceAssociations;