list_imported_models¶
Operation¶
list_imported_models
async
¶
list_imported_models(input: ListImportedModelsInput, plugins: list[Plugin] | None = None) -> ListImportedModelsOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListImportedModelsInput
|
An instance of |
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 |
|---|---|
ListImportedModelsOutput
|
An instance of |
Input¶
ListImportedModelsInput
dataclass
¶
Dataclass for ListImportedModelsInput structure.
Attributes¶
creation_time_after
class-attribute
instance-attribute
¶
creation_time_after: datetime | None = None
Return imported models that were created after the specified time.
creation_time_before
class-attribute
instance-attribute
¶
creation_time_before: datetime | None = None
Return imported models that 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.
name_contains
class-attribute
instance-attribute
¶
name_contains: str | None = None
Return imported models only if the model name contains these characters.
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: SortModelsBy | None = None
The field to sort by in the returned list of imported models.
Output¶
ListImportedModelsOutput
dataclass
¶
Dataclass for ListImportedModelsOutput structure.
Attributes¶
model_summaries
class-attribute
instance-attribute
¶
model_summaries: list[ImportedModelSummary] | None = None
Model summaries.
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.