Skip to content

Lists the advanced prompt optimization jobs in your account

Description

Lists the advanced prompt optimization jobs in your account.

Usage

bedrock_list_advanced_prompt_optimization_jobs(maxResults, nextToken,
  sortBy, sortOrder)

Arguments

  • maxResults

The maximum number of results to return in the response.

  • nextToken

If the total number of results is greater than the maxResults value provided in the request, use this token in a subsequent request to get the next set of results.

  • sortBy

The field to sort the results by.

  • sortOrder

The sort order for the results.

Value

A list with the following syntax:

list(
  jobSummaries = list(
    list(
      jobArn = "string",
      jobName = "string",
      jobStatus = "InProgress"|"Completed"|"Failed"|"PartiallyCompleted"|"Stopping"|"Stopped"|"Deleting",
      creationTime = as.POSIXct(
        "2015-01-01"
      ),
      lastModifiedTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_advanced_prompt_optimization_jobs(
  maxResults = 123,
  nextToken = "string",
  sortBy = "CreationTime",
  sortOrder = "Ascending"|"Descending"
)