Skip to content

Create Guardrail Version

bedrock_create_guardrail_version R Documentation

Creates a version of the guardrail

Description

Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.

Usage

bedrock_create_guardrail_version(guardrailIdentifier, description,
  clientRequestToken)

Arguments

guardrailIdentifier

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

description

A description of the guardrail version.

clientRequestToken

A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide.

Value

A list with the following syntax:

list(
  guardrailId = "string",
  version = "string"
)

Request syntax

svc$create_guardrail_version(
  guardrailIdentifier = "string",
  description = "string",
  clientRequestToken = "string"
)