v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1432226181.3 KB

Updates an existing pricing rule.

put/update-pricing-rule

Request body

Arnstring required

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

Namestring password

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

Descriptionstring password

The new description for the pricing rule.

Type'MARKUP' | 'DISCOUNT' | 'TIERING'

The new pricing rule type.

ModifierPercentagenumber double

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

Response

Success

Arnstring

The Amazon Resource Name (ARN) of the successfully updated pricing rule.

Namestring password

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

Descriptionstring 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.

ModifierPercentagenumber double

The new modifier to show pricing plan rates as a percentage.

Servicestring

If the <code>Scope</code> attribute is set to <code>SERVICE</code>, the attribute indicates which service the <code>PricingRule</code> is applicable for.

AssociatedPricingPlanCountinteger

The pricing plans count that this pricing rule is associated with.

LastModifiedTimeinteger

The most recent time the pricing rule was modified.

BillingEntitystring

The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.

UsageTypestring
<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>
Operationstring
<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>