Skip to content

Update an existing custom line item in the current or previous billing period

Description

Update an existing custom line item in the current or previous billing period.

Usage

billingconductor_update_custom_line_item(Arn, Name, Description,
  ChargeDetails, BillingPeriodRange)

Arguments

  • Arn

    [required] The ARN of the custom line item to be updated.

  • Name

    The new name for the custom line item.

  • Description

    The new line item description of the custom line item.

  • ChargeDetails

    A ListCustomLineItemChargeDetails containing the new charge details for the custom line item.

  • BillingPeriodRange

    A time range for which the margin summary is effective. The time range can be up to 12 months.

Value

A list with the following syntax:

list(
  Arn = "string",
  BillingGroupArn = "string",
  Name = "string",
  Description = "string",
  ChargeDetails = list(
    Flat = list(
      ChargeValue = 123.0
    ),
    Percentage = list(
      PercentageValue = 123.0
    ),
    Type = "CREDIT"|"FEE",
    LineItemFilters = list(
      list(
        Attribute = "LINE_ITEM_TYPE"|"SERVICE",
        MatchOption = "NOT_EQUAL"|"EQUAL",
        Values = list(
          "SAVINGS_PLAN_NEGATION"
        ),
        AttributeValues = list(
          "string"
        )
      )
    )
  ),
  LastModifiedTime = 123,
  AssociationSize = 123
)

Request syntax

svc$update_custom_line_item(
  Arn = "string",
  Name = "string",
  Description = "string",
  ChargeDetails = list(
    Flat = list(
      ChargeValue = 123.0
    ),
    Percentage = list(
      PercentageValue = 123.0
    ),
    LineItemFilters = list(
      list(
        Attribute = "LINE_ITEM_TYPE"|"SERVICE",
        MatchOption = "NOT_EQUAL"|"EQUAL",
        Values = list(
          "SAVINGS_PLAN_NEGATION"
        ),
        AttributeValues = list(
          "string"
        )
      )
    )
  ),
  BillingPeriodRange = list(
    InclusiveStartBillingPeriod = "string",
    ExclusiveEndBillingPeriod = "string"
  )
)