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
22771 22772 22773 22774 22775 22776 22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 22796 22797 22798 22799 22800 22801 22802 22803 22804 22805 22806 22807 22808 22809 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 22827 22828 22829 22830 22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 22852 22853 22854 22855 22856 22857 22858 | |