Skip to content

List Model Invocation Jobs

bedrock_list_model_invocation_jobs R Documentation

Lists all batch inference jobs in the account

Description

Lists all batch inference jobs in the account. For more information, see View details about a batch inference job.

Usage

bedrock_list_model_invocation_jobs(submitTimeAfter, submitTimeBefore,
  statusEquals, nameContains, maxResults, nextToken, sortBy, sortOrder)

Arguments

submitTimeAfter

Specify a time to filter for batch inference jobs that were submitted after the time you specify.

submitTimeBefore

Specify a time to filter for batch inference jobs that were submitted before the time you specify.

statusEquals

Specify a status to filter for batch inference jobs whose statuses match the string you specify.

nameContains

Specify a string to filter for batch inference jobs whose names contain the string.

maxResults

The maximum number of results to return. If there are more results than the number that you specify, a nextToken value is returned. Use the nextToken in a request to return the next batch of results.

nextToken

If there were more results than the value you specified in the maxResults field in a previous list_model_invocation_jobs request, the response would have returned a nextToken value. To see the next batch of results, send the nextToken value in another request.

sortBy

An attribute by which to sort the results.

sortOrder

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

Value

A list with the following syntax:

list(
  nextToken = "string",
  invocationJobSummaries = list(
    list(
      jobArn = "string",
      jobName = "string",
      modelId = "string",
      clientRequestToken = "string",
      roleArn = "string",
      status = "Submitted"|"InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped"|"PartiallyCompleted"|"Expired"|"Validating"|"Scheduled",
      message = "string",
      submitTime = as.POSIXct(
        "2015-01-01"
      ),
      lastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      endTime = as.POSIXct(
        "2015-01-01"
      ),
      inputDataConfig = list(
        s3InputDataConfig = list(
          s3InputFormat = "JSONL",
          s3Uri = "string"
        )
      ),
      outputDataConfig = list(
        s3OutputDataConfig = list(
          s3Uri = "string",
          s3EncryptionKeyId = "string"
        )
      ),
      timeoutDurationInHours = 123,
      jobExpirationTime = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

svc$list_model_invocation_jobs(
  submitTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  submitTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  statusEquals = "Submitted"|"InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped"|"PartiallyCompleted"|"Expired"|"Validating"|"Scheduled",
  nameContains = "string",
  maxResults = 123,
  nextToken = "string",
  sortBy = "CreationTime",
  sortOrder = "Ascending"|"Descending"
)