List Cost Category Resource Associations
| costexplorer_list_cost_category_resource_associations | R Documentation |
Returns resource associations of all cost categories defined in the account¶
Description¶
Returns resource associations of all cost categories defined in the
account. You have the option to use CostCategoryArn to get the
association for a specific cost category.
list_cost_category_resource_associations supports pagination. The
request can have a MaxResults range up to 100.
Usage¶
costexplorer_list_cost_category_resource_associations(CostCategoryArn,
NextToken, MaxResults)
Arguments¶
CostCategoryArn |
The unique identifier for your cost category. |
NextToken |
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. |
MaxResults |
The number of entries a paginated response contains. |
Value¶
A list with the following syntax:
list(
CostCategoryResourceAssociations = list(
list(
ResourceArn = "string",
CostCategoryName = "string",
CostCategoryArn = "string"
)
),
NextToken = "string"
)
Request syntax¶
svc$list_cost_category_resource_associations(
CostCategoryArn = "string",
NextToken = "string",
MaxResults = 123
)