---
title: "PUT /update-pricing-rule"
method: PUT
path: "/update-pricing-rule"
---

# PUT /update-pricing-rule

`PUT /update-pricing-rule`

Updates an existing pricing rule.

## Request body

- object
  - `Arn` string, required — The Amazon Resource Name (ARN) of the pricing rule to update.
  - `Name` string, password — The new name of the pricing rule. The name must be unique to each pricing rule.
  - `Description` string, password — The new description for the pricing rule.
  - `Type` 'MARKUP' | 'DISCOUNT' | 'TIERING' — The new pricing rule type.
  - `ModifierPercentage` number, double — The new modifier to show pricing plan rates as a percentage. Your entry will be rounded to the nearest 2 decimal places.
  - `Tiering` object — The set of tiering configurations for the pricing rule.
    - `FreeTier` object — The possible Amazon Web Services Free Tier configurations.
      - `Activated` boolean, required — Activate or deactivate application of Amazon Web Services Free Tier.

## Response `200`

Success

- UpdatePricingRuleOutput
  - `Arn` string — The Amazon Resource Name (ARN) of the successfully updated pricing rule.
  - `Name` string, password — The new name of the pricing rule. The name must be unique to each pricing rule.
  - `Description` string, password — The new description for the pricing rule.
  - `Scope` 'GLOBAL' | 'SERVICE' | 'BILLING_ENTITY' | 'SKU' — The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
  - `Type` 'MARKUP' | 'DISCOUNT' | 'TIERING' — The new pricing rule type.
  - `ModifierPercentage` number, double — The new modifier to show pricing plan rates as a percentage.
  - `Service` string — If the <code>Scope</code> attribute is set to <code>SERVICE</code>, the attribute indicates which service the <code>PricingRule</code> is applicable for.
  - `AssociatedPricingPlanCount` integer — The pricing plans count that this pricing rule is associated with.
  - `LastModifiedTime` integer — The most recent time the pricing rule was modified.
  - `BillingEntity` string — The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
  - `Tiering` object — The set of tiering configurations for the pricing rule.
    - `FreeTier` object, required — The possible Amazon Web Services Free Tier configurations.
      - `Activated` boolean, required — Activate or deactivate application of Amazon Web Services Free Tier.
  - `UsageType` string — <p>Usage type is the unit that each service uses to measure the usage of a specific type of resource.</p> <p>If the <code>Scope</code> attribute is set to <code>SKU</code>, this attribute indicates which usage type the <code>PricingRule</code> is modifying. For example, <code>USW2-BoxUsage:m2.2xlarge</code> describes an <code>M2 High Memory Double Extra Large</code> instance in the US West (Oregon) Region. </p>
  - `Operation` string — <p>Operation refers to the specific Amazon Web Services covered by this line item. This describes the specific usage of the line item.</p> <p> If the <code>Scope</code> attribute is set to <code>SKU</code>, this attribute indicates which operation the <code>PricingRule</code> is modifying. For example, a value of <code>RunInstances:0202</code> indicates the operation of running an Amazon EC2 instance.</p>

## Other responses

- `480` — ConflictException
- `481` — ThrottlingException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — InternalServerException
- `485` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/billingconductor.md) · [All operations](https://skmtc.net/aws/apis/billingconductor/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/billingconductor/versions/2cc5849dea95/schema)
