Skip to content

Update Usage Limit

redshiftserverless_update_usage_limit R Documentation

Update a usage limit in Amazon Redshift Serverless

Description

Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.

Usage

redshiftserverless_update_usage_limit(amount, breachAction,
  usageLimitId)

Arguments

amount

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.

breachAction

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

usageLimitId

[required] The identifier of the usage limit to update.

Value

A list with the following syntax:

list(
  usageLimit = list(
    amount = 123,
    breachAction = "log"|"emit-metric"|"deactivate",
    period = "daily"|"weekly"|"monthly",
    resourceArn = "string",
    usageLimitArn = "string",
    usageLimitId = "string",
    usageType = "serverless-compute"|"cross-region-datasharing"
  )
)

Request syntax

svc$update_usage_limit(
  amount = 123,
  breachAction = "log"|"emit-metric"|"deactivate",
  usageLimitId = "string"
)