Skip to content

BedrockAgentCoreControlClient.update_gateway_rule

rboto-bedrock-agentcore-control==0.4.0 · Service index · Types

Model summary (excerpt): Updates a gateway rule's priority, conditions, actions, or description.

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from collections.abc import Sequence
from rboto_bedrock_agentcore_control.types import (
    Action,
    Condition,
    UpdateGatewayRuleOutput,
)

Signature

async def update_gateway_rule(
    *,
    gateway_identifier: str,
    rule_id: str,
    priority: int | None = None,
    conditions: Sequence[Condition] | None = None,
    actions: Sequence[Action] | None = None,
    description: str | None = None,
) -> UpdateGatewayRuleOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
gateway_identifier Yes The identifier of the gateway containing the rule.
rule_id Yes The unique identifier of the rule to update.
priority No The updated priority of the rule.
conditions No The updated conditions for the rule.
actions No The updated actions for the rule.
description No The updated description of the rule.

Output

UpdateGatewayRuleOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
rule_id str Always present —
gateway_arn str Always present —
priority int Always present —
conditions list[ConditionOutput] | None Always present ConditionOutput
actions list[ActionOutput] Always present ActionOutput
description str | None Always present —
created_at str Always present —
status GatewayRuleStatusOutput Always present GatewayRuleStatusOutput
system SystemManagedBlockOutput | None Always present SystemManagedBlockOutput
updated_at str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

Action, Condition, UpdateGatewayRuleOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock_agentcore_control.exceptions:

AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model