Update Gateway Rule
| bedrockagentcorecontrol_update_gateway_rule | R Documentation |
Updates a gateway rule's priority, conditions, actions, or description¶
Description¶
Updates a gateway rule's priority, conditions, actions, or description.
Usage¶
bedrockagentcorecontrol_update_gateway_rule(gatewayIdentifier, ruleId,
priority, conditions, actions, description)
Arguments¶
gatewayIdentifier |
[required] The identifier of the gateway containing the rule. |
ruleId |
[required] The unique identifier of the rule to update. |
priority |
The updated priority of the rule. |
conditions |
The updated conditions for the rule. |
actions |
The updated actions for the rule. |
description |
The updated description of the rule. |
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$update_gateway_rule(
gatewayIdentifier = "string",
ruleId = "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"
)