Skip to content

Lists all rules for a gateway

Description

Lists all rules for a gateway.

Usage

bedrockagentcorecontrol_list_gateway_rules(gatewayIdentifier,
  maxResults, nextToken)

Arguments

  • gatewayIdentifier

    [required] The identifier of the gateway to list rules for.

  • maxResults

    The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

  • nextToken

    The pagination token from a previous request.

Value

A list with the following syntax:

list(
  gatewayRules = list(
    list(
      ruleId = "string",
      gatewayArn = "string",
      priority = 123,
      conditions = list(
        list(
          matchPrincipals = list(
            anyOf = list(
              list(
                iamPrincipal = list(
                  arn = "string",
                  operator = "StringEquals"|"StringLike"
                )
              )
            )
          ),
          matchPaths = list(
            anyOf = list(
              "string"
            )
          )
        )
      ),
      actions = list(
        list(
          configurationBundle = list(
            staticOverride = list(
              bundleArn = "string",
              bundleVersion = "string"
            ),
            weightedOverride = list(
              trafficSplit = list(
                list(
                  name = "string",
                  weight = 123,
                  configurationBundle = list(
                    bundleArn = "string",
                    bundleVersion = "string"
                  ),
                  description = "string",
                  metadata = list(
                    "string"
                  )
                )
              )
            )
          ),
          routeToTarget = list(
            staticRoute = list(
              targetName = "string"
            ),
            weightedRoute = list(
              trafficSplit = list(
                list(
                  name = "string",
                  weight = 123,
                  targetName = "string",
                  description = "string",
                  metadata = list(
                    "string"
                  )
                )
              )
            )
          )
        )
      ),
      description = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      status = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING",
      system = list(
        managedBy = "string"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_gateway_rules(
  gatewayIdentifier = "string",
  maxResults = 123,
  nextToken = "string"
)