list_images
async
¶
list_images(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
last_modified_time_after: Optional[Timestamp] = None,
last_modified_time_before: Optional[Timestamp] = None,
max_results: Optional[MaxResults] = None,
name_contains: Optional[ImageNameContains] = None,
next_token: Optional[NextToken] = None,
sort_by: Optional[ImageSortBy] = None,
sort_order: Optional[ImageSortOrder] = None,
) -> ListImagesResponse
Lists the images in your account and their properties. The list can be filtered by creation time or modified time, and whether the image name contains a specified string.
Parameters:
-
creation_time_after(Optional[Timestamp], default:None) –A filter that returns only images created on or after the specified time.
-
creation_time_before(Optional[Timestamp], default:None) –A filter that returns only images created on or before the specified time.
-
last_modified_time_after(Optional[Timestamp], default:None) –A filter that returns only images modified on or after the specified time.
-
last_modified_time_before(Optional[Timestamp], default:None) –A filter that returns only images modified on or before the specified time.
-
max_results(Optional[MaxResults], default:None) –The maximum number of images to return in the response. The default value is 10.
-
name_contains(Optional[ImageNameContains], default:None) –A filter that returns only images whose name contains the specified string.
-
next_token(Optional[NextToken], default:None) –If the previous call to
ListImagesdidn't return the full set of images, the call returns a token for getting the next set of images. -
sort_by(Optional[ImageSortBy], default:None) –The property used to sort results. The default value is
CREATION_TIME. -
sort_order(Optional[ImageSortOrder], default:None) –The sort order. The default value is
DESCENDING.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 | |