PromptMetadataEntry - Amazon Bedrock

PromptMetadataEntry

Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see Create a prompt using Prompt management.

Contents

key

The key of a metadata tag for a prompt variant.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: ^[a-zA-Z0-9\s._:/=+@-]*$

Required: Yes

value

The value of a metadata tag for a prompt variant.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: ^[a-zA-Z0-9\s._:/=+@-]*$

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: