Skip to content

Bedrock  >  Operations  >  list_model_copy_jobs

list_model_copy_jobs

Operation

list_model_copy_jobs async

list_model_copy_jobs(input: ListModelCopyJobsInput, plugins: list[Plugin] | None = None) -> ListModelCopyJobsOutput

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.

Parameters:

Name Type Description Default
input ListModelCopyJobsInput

An instance of ListModelCopyJobsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListModelCopyJobsOutput

An instance of ListModelCopyJobsOutput.

Input

ListModelCopyJobsInput dataclass

Dataclass for ListModelCopyJobsInput structure.

Attributes

creation_time_after class-attribute instance-attribute
creation_time_after: datetime | None = None

Filters for model copy jobs created after the specified time.

creation_time_before class-attribute instance-attribute
creation_time_before: datetime | None = None

Filters for model copy jobs created before the specified time.

max_results class-attribute instance-attribute
max_results: int | None = None

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.

next_token class-attribute instance-attribute
next_token: str | None = None

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.

sort_by class-attribute instance-attribute
sort_by: SortJobsBy | None = None

The field to sort by in the returned list of model copy jobs.

sort_order class-attribute instance-attribute
sort_order: SortOrder | None = None

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

source_account_equals class-attribute instance-attribute
source_account_equals: str | None = None

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

source_model_arn_equals class-attribute instance-attribute
source_model_arn_equals: str | None = None

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.

status_equals class-attribute instance-attribute
status_equals: ModelCopyJobStatus | None = None

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

target_model_name_contains class-attribute instance-attribute
target_model_name_contains: str | None = None

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

Output

ListModelCopyJobsOutput dataclass

Dataclass for ListModelCopyJobsOutput structure.

Attributes

model_copy_job_summaries class-attribute instance-attribute
model_copy_job_summaries: list[ModelCopyJobSummary] | None = None

A list of information about each model copy job.

next_token class-attribute instance-attribute
next_token: str | None = None

If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.