list_images
¶
list_images(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 | |