Skip to content

/AWS1/CL_BDK=>CREATEGUARDRAILVERSION()

About CreateGuardrailVersion

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.

Method Signature

IMPORTING

Required arguments:

IV_GUARDRAILIDENTIFIER TYPE /AWS1/BDKGUARDRAILIDENTIFIER /AWS1/BDKGUARDRAILIDENTIFIER

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

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/BDKGUARDRAILDESCRIPTION /AWS1/BDKGUARDRAILDESCRIPTION

A description of the guardrail version.

IV_CLIENTREQUESTTOKEN TYPE /AWS1/BDKIDEMPOTENCYTOKEN /AWS1/BDKIDEMPOTENCYTOKEN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BDKCREGUARDRAILVRSRSP /AWS1/CL_BDKCREGUARDRAILVRSRSP