describe_workspace_images
¶
describe_workspace_images(
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
image_ids: Optional[WorkspaceImageIdList] = None,
image_type: Optional[ImageType] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[Limit] = None,
) -> DescribeWorkspaceImagesResult
Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.
Parameters:
-
image_ids(Optional[WorkspaceImageIdList], default:None) –The identifier of the image.
-
image_type(Optional[ImageType], default:None) –The type (owned or shared) of the image.
-
next_token(Optional[PaginationToken], default:None) –If you received a
NextTokenfrom a previous call that was paginated, provide this token to receive the next set of results. -
max_results(Optional[Limit], default:None) –The maximum number of items to return.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/work_spaces.py
5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 | |