Skip to content

List the resources that are associated to a custom line item

Description

List the resources that are associated to a custom line item.

Usage

billingconductor_list_resources_associated_to_custom_line_item(
  BillingPeriod, Arn, MaxResults, NextToken, Filters)

Arguments

  • BillingPeriod

    The billing period for which the resource associations will be listed.

  • Arn

    [required] The ARN of the custom line item for which the resource associations will be listed.

  • MaxResults

    (Optional) The maximum number of resource associations to be retrieved.

  • NextToken

    (Optional) The pagination token that's returned by a previous request.

  • Filters

    (Optional) A ListResourcesAssociatedToCustomLineItemFilter that can specify the types of resources that should be retrieved.

Value

A list with the following syntax:

list(
  Arn = "string",
  AssociatedResources = list(
    list(
      Arn = "string",
      Relationship = "PARENT"|"CHILD",
      EndBillingPeriod = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_resources_associated_to_custom_line_item(
  BillingPeriod = "string",
  Arn = "string",
  MaxResults = 123,
  NextToken = "string",
  Filters = list(
    Relationship = "PARENT"|"CHILD"
  )
)