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¶
creationTimeAfterFilters for model copy jobs created after the specified time.
creationTimeBeforeFilters for model copy jobs created before the specified time.
statusEqualsFilters for model copy jobs whose status matches the value that you specify.
sourceAccountEqualsFilters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.
sourceModelArnEqualsFilters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.
targetModelNameContainsFilters for model copy jobs in which the name of the copied model contains the string that you specify.
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 model copy jobs.
sortOrderSpecifies 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"
)