BedrockAgentCoreControl / Client / delete_gateway_rule

delete_gateway_rule

BedrockAgentCoreControl.Client.delete_gateway_rule(**kwargs)

Deletes a gateway rule.

See also: AWS API Documentation

Request Syntax

response = client.delete_gateway_rule(
    gatewayIdentifier='string',
    ruleId='string'
)
Parameters:
  • gatewayIdentifier (string) –

    [REQUIRED]

    The identifier of the gateway containing the rule.

  • ruleId (string) –

    [REQUIRED]

    The unique identifier of the rule to delete.

Return type:

dict

Returns:

Response Syntax

{
    'ruleId': 'string',
    'status': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETING'
}

Response Structure

  • (dict) –

    • ruleId (string) –

      The unique identifier of the deleted rule.

    • status (string) –

      The status of the rule deletion operation.

Exceptions

  • BedrockAgentCoreControl.Client.exceptions.ConflictException

  • BedrockAgentCoreControl.Client.exceptions.ValidationException

  • BedrockAgentCoreControl.Client.exceptions.AccessDeniedException

  • BedrockAgentCoreControl.Client.exceptions.ResourceNotFoundException

  • BedrockAgentCoreControl.Client.exceptions.ThrottlingException

  • BedrockAgentCoreControl.Client.exceptions.InternalServerException