Skip to content

CreatePricingRuleInput

Source code in docs_src/capo_billingconductor/types/create_pricing_rule_input.py
class CreatePricingRuleInput(TypedDict, closed=True):
    client_token: NotRequired["capo_billingconductor.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.</p>"""
    name: "capo_billingconductor.types.pricing_rule_name.PricingRuleName"
    """<p> The pricing rule name. The names must be unique to each pricing rule. </p>"""
    description: NotRequired[
        "capo_billingconductor.types.pricing_rule_description.PricingRuleDescription"
    ]
    """<p> The pricing rule description. </p>"""
    scope: "capo_billingconductor.types.pricing_rule_scope.PricingRuleScope"
    """<p> The scope of pricing rule that indicates if it's globally applicable, or it's service-specific. </p>"""
    type: "capo_billingconductor.types.pricing_rule_type.PricingRuleType"
    """<p> The type of pricing rule. </p>"""
    modifier_percentage: NotRequired[
        "capo_billingconductor.types.modifier_percentage.ModifierPercentage"
    ]
    """<p>A percentage modifier that's applied on the public pricing rates. Your entry will be rounded to the nearest 2 decimal places.</p>"""
    service: NotRequired["capo_billingconductor.types.service.Service"]
    """<p> If the <code>Scope</code> attribute is set to <code>SERVICE</code> or <code>SKU</code>, the attribute indicates which service the <code>PricingRule</code> is applicable for. </p>"""
    tags: NotRequired["capo_billingconductor.types.tag_map.TagMap"]
    """<p> A map that contains tag keys and tag values that are attached to a pricing rule. </p>"""
    billing_entity: NotRequired[
        "capo_billingconductor.types.billing_entity.BillingEntity"
    ]
    """<p> The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace. </p>"""
    tiering: NotRequired[
        "capo_billingconductor.types.create_tiering_input.CreateTieringInput"
    ]
    """<p> The set of tiering configurations for the pricing rule. </p>"""
    usage_type: NotRequired["capo_billingconductor.types.usage_type.UsageType"]
    """<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: NotRequired["capo_billingconductor.types.operation.Operation"]
    """<p> Operation is the specific Amazon Web Services action 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>"""

billing_entity instance-attribute

billing_entity: NotRequired[BillingEntity]

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

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

description instance-attribute

description: NotRequired[PricingRuleDescription]

The pricing rule description.

modifier_percentage instance-attribute

modifier_percentage: NotRequired[ModifierPercentage]

A percentage modifier that's applied on the public pricing rates. Your entry will be rounded to the nearest 2 decimal places.

name instance-attribute

The pricing rule name. The names must be unique to each pricing rule.

operation instance-attribute

operation: NotRequired[Operation]

Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.

If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.

scope instance-attribute

The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.

service instance-attribute

service: NotRequired[Service]

If the Scope attribute is set to SERVICE or SKU, the attribute indicates which service the PricingRule is applicable for.

tags instance-attribute

tags: NotRequired[TagMap]

A map that contains tag keys and tag values that are attached to a pricing rule.

tiering instance-attribute

tiering: NotRequired[CreateTieringInput]

The set of tiering configurations for the pricing rule.

type instance-attribute

The type of pricing rule.

usage_type instance-attribute

usage_type: NotRequired[UsageType]

Usage type is the unit that each service uses to measure the usage of a specific type of resource.

If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region.