List Custom Models
| bedrock_list_custom_models | R Documentation |
Returns a list of the custom models that you have created with the CreateModelCustomizationJob operation¶
Description¶
Returns a list of the custom models that you have created with the
create_model_customization_job operation.
For more information, see Custom models in the Amazon Bedrock User Guide.
Usage¶
bedrock_list_custom_models(creationTimeBefore, creationTimeAfter,
nameContains, baseModelArnEquals, foundationModelArnEquals, maxResults,
nextToken, sortBy, sortOrder, isOwned)
Arguments¶
creationTimeBeforeReturn custom models created before the specified time.
creationTimeAfterReturn custom models created after the specified time.
nameContainsReturn custom models only if the job name contains these characters.
baseModelArnEqualsReturn custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
foundationModelArnEqualsReturn custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
maxResultsThe 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
nextTokenfield when making another request to return the next batch of results.nextTokenIf the total number of results is greater than the
maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.sortByThe field to sort by in the returned list of models.
sortOrderThe sort order of the results.
isOwnedReturn custom models depending on if the current account owns them (
true) or if they were shared with the current account (false).
Value¶
A list with the following syntax:
list(
nextToken = "string",
modelSummaries = list(
list(
modelArn = "string",
modelName = "string",
creationTime = as.POSIXct(
"2015-01-01"
),
baseModelArn = "string",
baseModelName = "string",
customizationType = "FINE_TUNING"|"CONTINUED_PRE_TRAINING",
ownerAccountId = "string"
)
)
)
Request syntax¶
svc$list_custom_models(
creationTimeBefore = as.POSIXct(
"2015-01-01"
),
creationTimeAfter = as.POSIXct(
"2015-01-01"
),
nameContains = "string",
baseModelArnEquals = "string",
foundationModelArnEquals = "string",
maxResults = 123,
nextToken = "string",
sortBy = "CreationTime",
sortOrder = "Ascending"|"Descending",
isOwned = TRUE|FALSE
)