Skip to main content

enforced_guardrail_configurations

Creates, updates, deletes, gets or lists an enforced_guardrail_configurations resource.

Overview

Nameenforced_guardrail_configurations
TypeResource
Idaws.bedrock.enforced_guardrail_configurations

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
put_enforced_guardrail_configurationreplaceregion, guardrailInferenceConfigSets the account-level enforced guardrail configuration.
delete_enforced_guardrail_configurationdeleteconfig_id, regionDeletes the account-level enforced guardrail configuration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
config_idstringUnique ID for the account enforced configuration.
regionstringAWS region (default: us-east-1)

REPLACE examples

Sets the account-level enforced guardrail configuration.

REPLACE aws.bedrock.enforced_guardrail_configurations
SET
configId = '{{ configId }}',
guardrailInferenceConfig = '{{ guardrailInferenceConfig }}'
WHERE
region = '{{ region }}' --required
AND guardrailInferenceConfig = '{{ guardrailInferenceConfig }}' --required
RETURNING
config_id,
updated_at,
updated_by;

DELETE examples

Deletes the account-level enforced guardrail configuration.

DELETE FROM aws.bedrock.enforced_guardrail_configurations
WHERE config_id = '{{ config_id }}' --required
AND region = '{{ region }}' --required
;