Skip to content

Returns a list of import jobs you've submitted

Description

Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.

Usage

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

Arguments

  • creationTimeAfter

    Return import jobs that were created after the specified time.

  • creationTimeBefore

    Return import jobs that were created before the specified time.

  • statusEquals

    Return imported jobs with the specified status.

  • nameContains

    Return imported 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 imported jobs.

  • sortOrder

    Specifies whether to sort the results in ascending or descending order.

Value

A list with the following syntax:

list(
  nextToken = "string",
  modelImportJobSummaries = list(
    list(
      jobArn = "string",
      jobName = "string",
      status = "InProgress"|"Completed"|"Failed",
      lastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      creationTime = as.POSIXct(
        "2015-01-01"
      ),
      endTime = as.POSIXct(
        "2015-01-01"
      ),
      importedModelArn = "string",
      importedModelName = "string"
    )
  )
)

Request syntax

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