Skip to content

Updates an existing pricing rule

Description

Updates an existing pricing rule.

Usage

billingconductor_update_pricing_rule(Arn, Name, Description, Type,
  ModifierPercentage, Tiering)

Arguments

  • Arn

    [required] The Amazon Resource Name (ARN) of the pricing rule to update.

  • Name

    The new name of the pricing rule. The name must be unique to each pricing rule.

  • Description

    The new description for the pricing rule.

  • Type

    The new pricing rule type.

  • ModifierPercentage

    The new modifier to show pricing plan rates as a percentage. Your entry will be rounded to the nearest 2 decimal places.

  • Tiering

    The 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
      )
    )
  )
)