Skip to content

Delete Guardrail

bedrock_delete_guardrail R Documentation

Deletes a guardrail

Description

Deletes a guardrail.

  • To delete a guardrail, only specify the ARN of the guardrail in the guardrailIdentifier field. If you delete a guardrail, all of its versions will be deleted.

  • To delete a version of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier field and the version in the guardrailVersion field.

Usage

bedrock_delete_guardrail(guardrailIdentifier, guardrailVersion)

Arguments

guardrailIdentifier

[required] The unique identifier of the guardrail. This can be an ID or the ARN.

guardrailVersion

The version of the guardrail.

Value

An empty list.

Request syntax

svc$delete_guardrail(
  guardrailIdentifier = "string",
  guardrailVersion = "string"
)