Updates an existing pricing rule¶
Description¶
Updates an existing pricing rule.
Usage¶
Arguments¶
-
Arn[required] The Amazon Resource Name (ARN) of the pricing rule to update.
-
NameThe new name of the pricing rule. The name must be unique to each pricing rule.
-
DescriptionThe new description for the pricing rule.
-
TypeThe new pricing rule type.
-
ModifierPercentageThe new modifier to show pricing plan rates as a percentage. Your entry will be rounded to the nearest 2 decimal places.
-
TieringThe set of tiering configurations for the pricing rule.
Value¶
A list with the following syntax:
list(
Arn = "string",
Name = "string",
Description = "string",
Scope = "GLOBAL"|"SERVICE"|"BILLING_ENTITY"|"SKU",
Type = "MARKUP"|"DISCOUNT"|"TIERING",
ModifierPercentage = 123.0,
Service = "string",
AssociatedPricingPlanCount = 123,
LastModifiedTime = 123,
BillingEntity = "string",
Tiering = list(
FreeTier = list(
Activated = TRUE|FALSE
),
CustomTiers = list(
list(
BeginRangeInclusive = 123.0,
EndRangeExclusive = 123.0,
RateValue = 123.0
)
)
),
UsageType = "string",
Operation = "string"
)
Request syntax¶
svc$update_pricing_rule(
Arn = "string",
Name = "string",
Description = "string",
Type = "MARKUP"|"DISCOUNT"|"TIERING",
ModifierPercentage = 123.0,
Tiering = list(
FreeTier = list(
Activated = TRUE|FALSE
),
CustomTiers = list(
list(
BeginRangeInclusive = 123.0,
EndRangeExclusive = 123.0,
RateValue = 123.0
)
)
)
)