Skip to content

Get Gateway Rule

bedrockagentcorecontrol_get_gateway_rule R Documentation

Retrieves detailed information about a specific gateway rule

Description

Retrieves detailed information about a specific gateway rule.

Usage

bedrockagentcorecontrol_get_gateway_rule(gatewayIdentifier, ruleId)

Arguments

gatewayIdentifier

[required] The identifier of the gateway containing the rule.

ruleId

[required] The unique identifier of the rule to retrieve.

Value

A list with the following syntax:

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"
  )
)

Request syntax

svc$get_gateway_rule(
  gatewayIdentifier = "string",
  ruleId = "string"
)