Skip to content

List Imported Models

bedrock_list_imported_models R Documentation

Returns a list of models you've imported

Description

Returns a list of models you've imported. 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_imported_models(creationTimeBefore, creationTimeAfter,
  nameContains, maxResults, nextToken, sortBy, sortOrder)

Arguments

creationTimeBefore

Return imported models that created before the specified time.

creationTimeAfter

Return imported models that were created after the specified time.

nameContains

Return imported models only if the model 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 models.

sortOrder

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

Value

A list with the following syntax:

list(
  nextToken = "string",
  modelSummaries = list(
    list(
      modelArn = "string",
      modelName = "string",
      creationTime = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

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