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¶
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
field when making another request to return the next batch of results.nextToken
If the total number of results is greater than the
maxResults
value provided in the request, enter the token returned in thenextToken
field in the response in this field to return the next batch of results.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"
)
)
)