Skip to content

/AWS1/CL_BDA=>CREATEPROMPTVERSION()

About CreatePromptVersion

Creates a static snapshot of your prompt that can be deployed to production. For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.

Method Signature

IMPORTING

Required arguments:

IV_PROMPTIDENTIFIER TYPE /AWS1/BDAPROMPTIDENTIFIER /AWS1/BDAPROMPTIDENTIFIER

The unique identifier of the prompt that you want to create a version of.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/BDAPROMPTDESCRIPTION /AWS1/BDAPROMPTDESCRIPTION

A description for the version of the prompt.

IV_CLIENTTOKEN TYPE /AWS1/BDACLIENTTOKEN /AWS1/BDACLIENTTOKEN

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

IT_TAGS TYPE /AWS1/CL_BDATAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP

Any tags that you want to attach to the version of the prompt. For more information, see Tagging resources in Amazon Bedrock.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BDACREATEPROMPTVRSRSP /AWS1/CL_BDACREATEPROMPTVRSRSP