Skip to content

UpdateSubscriptionInput

Source code in docs_src/capo_pricing_plan_manager/types/update_subscription_input.py
class UpdateSubscriptionInput(TypedDict, closed=True):
    arn: "capo_pricing_plan_manager.types.subscription_arn.SubscriptionArn"
    """<p>The ARN of the subscription to update.</p>"""
    plan_tier: "str"
    """<p>The new tier level for the subscription.</p>"""
    usage_level: NotRequired["str"]
    """<p>The usage level within the plan tier. Specify <code>DEFAULT</code> for the base configuration. If omitted, the usage level is reset to the default.</p>"""
    if_match: "str"
    """<p>The <code>ETag</code> value from a previous <code>GetSubscription</code> or <code>ListSubscriptions</code> response. This ensures you are updating the expected version of the subscription.</p>"""
    client_token: NotRequired[
        "capo_pricing_plan_manager.types.idempotency_token.IdempotencyToken"
    ]
    """<p>A unique, case-sensitive identifier that you provide to ensure the request is handled only once.</p>"""

arn instance-attribute

The ARN of the subscription to update.

client_token instance-attribute

client_token: NotRequired[IdempotencyToken]

A unique, case-sensitive identifier that you provide to ensure the request is handled only once.

if_match instance-attribute

if_match: str

The ETag value from a previous GetSubscription or ListSubscriptions response. This ensures you are updating the expected version of the subscription.

plan_tier instance-attribute

plan_tier: str

The new tier level for the subscription.

usage_level instance-attribute

usage_level: NotRequired[str]

The usage level within the plan tier. Specify DEFAULT for the base configuration. If omitted, the usage level is reset to the default.