Skip to content

Bedrock Agentcore Control  >  Operations  >  delete_gateway_rule

delete_gateway_rule

Operation

delete_gateway_rule async

delete_gateway_rule(input: DeleteGatewayRuleInput, plugins: list[Plugin] | None = None) -> DeleteGatewayRuleOutput

Deletes a gateway rule.

Parameters:

Name Type Description Default
input DeleteGatewayRuleInput

An instance of DeleteGatewayRuleInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteGatewayRuleOutput

An instance of DeleteGatewayRuleOutput.

Input

DeleteGatewayRuleInput dataclass

Dataclass for DeleteGatewayRuleInput structure.

Attributes

gateway_identifier class-attribute instance-attribute
gateway_identifier: str | None = None

The identifier of the gateway containing the rule.

rule_id class-attribute instance-attribute
rule_id: str | None = None

The unique identifier of the rule to delete.

Output

DeleteGatewayRuleOutput dataclass

Dataclass for DeleteGatewayRuleOutput structure.

Attributes

rule_id instance-attribute
rule_id: str

The unique identifier of the deleted rule.

status instance-attribute

The status of the rule deletion operation.