Skip to content

Lists all usage limits within Amazon Redshift Serverless

Description

Lists all usage limits within Amazon Redshift Serverless.

Usage

redshiftserverless_list_usage_limits(maxResults, nextToken, resourceArn,
  usageType)

Arguments

  • maxResults

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 100.

  • nextToken

    If your initial list_usage_limits operation returns a nextToken, you can include the returned nextToken in following list_usage_limits operations, which returns results in the next page.

  • resourceArn

    The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.

  • usageType

    The Amazon Redshift Serverless feature whose limits you want to see.

Value

A list with the following syntax:

list(
  nextToken = "string",
  usageLimits = list(
    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$list_usage_limits(
  maxResults = 123,
  nextToken = "string",
  resourceArn = "string",
  usageType = "serverless-compute"|"cross-region-datasharing"
)