Skip to content

UpdateUsageLimitRequest

Source code in docs_src/capo_redshift_serverless/types/update_usage_limit_request.py
class UpdateUsageLimitRequest(TypedDict, closed=True):
    usage_limit_id: "str"
    """<p>The identifier of the usage limit to update.</p>"""
    amount: NotRequired["int"]
    """<p>The new limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.</p>"""
    breach_action: NotRequired[
        "capo_redshift_serverless.types.usage_limit_breach_action.UsageLimitBreachAction"
    ]
    """<p>The new action that Amazon Redshift Serverless takes when the limit is reached.</p>"""

amount instance-attribute

amount: NotRequired[int]

The new limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

breach_action instance-attribute

breach_action: NotRequired[UsageLimitBreachAction]

The new action that Amazon Redshift Serverless takes when the limit is reached.

usage_limit_id instance-attribute

usage_limit_id: str

The identifier of the usage limit to update.