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¶
Arguments¶
-
Arn[required] The ARN of the custom line item to be updated.
-
NameThe new name for the custom line item.
-
DescriptionThe new line item description of the custom line item.
-
ChargeDetailsA
ListCustomLineItemChargeDetailscontaining the new charge details for the custom line item. -
BillingPeriodRangeA 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"
)
)