Skip to content

Updates the entries of a gateway rate limit

Description

Updates the entries of a gateway rate limit. The dimension keys are immutable after creation.

Usage

bedrockagentcorecontrol_update_gateway_rate_limit(gatewayIdentifier,
  rateLimitId, description, entries)

Arguments

  • gatewayIdentifier

    [required] The unique identifier of the gateway.

  • rateLimitId

    [required] The unique identifier of the rate limit to update.

  • description

    The updated human-readable description for this rate limit.

  • entries

    [required] The updated rule entries. The dimension keys are immutable after creation and cannot be changed.

Value

A list with the following syntax:

list(
  rateLimitId = "string",
  gatewayIdentifier = "string",
  description = "string",
  dimensionKeys = list(
    "string"
  ),
  entries = list(
    list(
      dimensions = list(
        "string"
      ),
      requests = list(
        list(
          rate = 123.0,
          period = "second"|"minute"
        )
      ),
      tokens = list(
        list(
          rate = 123.0,
          period = "second"|"minute"
        )
      ),
      connections = list(
        list(
          rate = 123.0,
          period = "second"|"minute"
        )
      )
    )
  ),
  status = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_gateway_rate_limit(
  gatewayIdentifier = "string",
  rateLimitId = "string",
  description = "string",
  entries = list(
    list(
      dimensions = list(
        "string"
      ),
      requests = list(
        list(
          rate = 123.0,
          period = "second"|"minute"
        )
      ),
      tokens = list(
        list(
          rate = 123.0,
          period = "second"|"minute"
        )
      ),
      connections = list(
        list(
          rate = 123.0,
          period = "second"|"minute"
        )
      )
    )
  )
)