List Prompts
bedrockagent_list_prompts | R Documentation |
Returns either information about the working draft (DRAFT version) of each prompt in an account, or information about of all versions of a prompt, depending on whether you include the promptIdentifier field or not¶
Description¶
Returns either information about the working draft (DRAFT
version) of
each prompt in an account, or information about of all versions of a
prompt, depending on whether you include the promptIdentifier
field or
not. For more information, see View information about prompts using
Prompt
management
in the Amazon Bedrock User Guide.
Usage¶
bedrockagent_list_prompts(maxResults, nextToken, promptIdentifier)
Arguments¶
maxResults |
The maximum number of results to return in the response. If the
total number of results is greater than this value, use the token
returned in the response in the |
nextToken |
If the total number of results is greater than the
|
promptIdentifier |
The unique identifier of the prompt for whose versions you want to return information. Omit this field to list information about all prompts in an account. |
Value¶
A list with the following syntax:
list(
nextToken = "string",
promptSummaries = list(
list(
arn = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
description = "string",
id = "string",
name = "string",
updatedAt = as.POSIXct(
"2015-01-01"
),
version = "string"
)
)
)
Request syntax¶
svc$list_prompts(
maxResults = 123,
nextToken = "string",
promptIdentifier = "string"
)