Skip to content

Update Custom Line Item

billingconductor_update_custom_line_item R Documentation

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

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",
        MatchOption = "NOT_EQUAL",
        Values = list(
          "SAVINGS_PLAN_NEGATION"
        )
      )
    )
  ),
  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",
        MatchOption = "NOT_EQUAL",
        Values = list(
          "SAVINGS_PLAN_NEGATION"
        )
      )
    )
  ),
  BillingPeriodRange = list(
    InclusiveStartBillingPeriod = "string",
    ExclusiveEndBillingPeriod = "string"
  )
)