Skip to content

List Model Copy Jobs

bedrock_list_model_copy_jobs R Documentation

Returns a list of model copy jobs that you have submitted

Description

Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.

Usage

bedrock_list_model_copy_jobs(creationTimeAfter, creationTimeBefore,
  statusEquals, sourceAccountEquals, sourceModelArnEquals,
  targetModelNameContains, maxResults, nextToken, sortBy, sortOrder)

Arguments

creationTimeAfter

Filters for model copy jobs created after the specified time.

creationTimeBefore

Filters for model copy jobs created before the specified time.

statusEquals

Filters for model copy jobs whose status matches the value that you specify.

sourceAccountEquals

Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.

sourceModelArnEquals

Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.

targetModelNameContains

Filters for model copy jobs in which the name of the copied model contains the string that you specify.

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 model copy jobs.

sortOrder

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

Value

A list with the following syntax:

list(
  nextToken = "string",
  modelCopyJobSummaries = list(
    list(
      jobArn = "string",
      status = "InProgress"|"Completed"|"Failed",
      creationTime = as.POSIXct(
        "2015-01-01"
      ),
      targetModelArn = "string",
      targetModelName = "string",
      sourceAccountId = "string",
      sourceModelArn = "string",
      targetModelKmsKeyArn = "string",
      targetModelTags = list(
        list(
          key = "string",
          value = "string"
        )
      ),
      failureMessage = "string",
      sourceModelName = "string"
    )
  )
)

Request syntax

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