Skip to content

Modify Usage Limit

redshift_modify_usage_limit R Documentation

Modifies a usage limit in a cluster

Description

Modifies a usage limit in a cluster. You can't modify the feature type or period of a usage limit.

Usage

redshift_modify_usage_limit(UsageLimitId, Amount, BreachAction)

Arguments

UsageLimitId

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

Amount

The new limit amount. For more information about this parameter, see UsageLimit.

BreachAction

The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.

Value

A list with the following syntax:

list(
  UsageLimitId = "string",
  ClusterIdentifier = "string",
  FeatureType = "spectrum"|"concurrency-scaling"|"cross-region-datasharing",
  LimitType = "time"|"data-scanned",
  Amount = 123,
  Period = "daily"|"weekly"|"monthly",
  BreachAction = "log"|"emit-metric"|"disable",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

svc$modify_usage_limit(
  UsageLimitId = "string",
  Amount = 123,
  BreachAction = "log"|"emit-metric"|"disable"
)