update_gateway_rule
¶
update_gateway_rule(
gateway_identifier: GatewayIdentifier,
rule_id: GatewayRuleId,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
priority: Optional[GatewayRulePriority] = None,
conditions: Optional[Conditions] = None,
actions: Optional[Actions] = None,
description: Optional[GatewayRuleDescription] = None,
) -> UpdateGatewayRuleResponse
Updates a gateway rule's priority, conditions, actions, or description.
Parameters:
-
gateway_identifier(GatewayIdentifier) –The identifier of the gateway containing the rule.
-
rule_id(GatewayRuleId) –The unique identifier of the rule to update.
-
priority(Optional[GatewayRulePriority], default:None) –The updated priority of the rule.
-
conditions(Optional[Conditions], default:None) –The updated conditions for the rule.
-
actions(Optional[Actions], default:None) –The updated actions for the rule.
-
description(Optional[GatewayRuleDescription], default:None) –The updated description of the rule.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/bedrock_agent_core_control.py
7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 | |