describe_workspace_images
async
¶
describe_workspace_images(
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = 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/async_work_spaces.py
5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 | |