describe_images
async
¶
describe_images(
*,
config_overrides: Optional[AsyncAppStreamClientConfig] = None,
names: Optional[StringList] = None,
arns: Optional[ArnList] = None,
type: Optional[VisibilityType] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeImagesMaxResults] = None,
) -> DescribeImagesResult
Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided. Otherwise, all images in the account are described.
Parameters:
-
names(Optional[StringList], default:None) –The names of the public or private images to describe.
-
arns(Optional[ArnList], default:None) –The ARNs of the public, private, and shared images to describe.
-
type(Optional[VisibilityType], default:None) –The type of image (public, private, or shared) to describe.
-
next_token(Optional[String], default:None) –The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
-
max_results(Optional[DescribeImagesMaxResults], default:None) –The maximum size of each page of results.
Raises:
-
InvalidParameterCombinationException–Indicates an incorrect combination of parameters, or a missing parameter.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appstream/_services/async_app_stream.py
4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 | |