Skip to content

List Model Customization Jobs

bedrock_list_model_customization_jobs R Documentation

Returns a list of model customization jobs that you have submitted

Description

Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.

For more information, see Custom models in the Amazon Bedrock User Guide.

Usage

bedrock_list_model_customization_jobs(creationTimeAfter,
  creationTimeBefore, statusEquals, nameContains, maxResults, nextToken,
  sortBy, sortOrder)

Arguments

creationTimeAfter

Return customization jobs created after the specified time.

creationTimeBefore

Return customization jobs created before the specified time.

statusEquals

Return customization jobs with the specified status.

nameContains

Return customization jobs only if the job name contains these characters.

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 the nextToken field in the response in this field to return the next batch of results.

sortBy

The field to sort by in the returned list of jobs.

sortOrder

The sort order of the results.

Value

A list with the following syntax:

list(
  nextToken = "string",
  modelCustomizationJobSummaries = list(
    list(
      jobArn = "string",
      baseModelArn = "string",
      jobName = "string",
      status = "InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped",
      lastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      creationTime = as.POSIXct(
        "2015-01-01"
      ),
      endTime = as.POSIXct(
        "2015-01-01"
      ),
      customModelArn = "string",
      customModelName = "string",
      customizationType = "FINE_TUNING"|"CONTINUED_PRE_TRAINING"
    )
  )
)

Request syntax

svc$list_model_customization_jobs(
  creationTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  creationTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  statusEquals = "InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped",
  nameContains = "string",
  maxResults = 123,
  nextToken = "string",
  sortBy = "CreationTime",
  sortOrder = "Ascending"|"Descending"
)