list_package_versions
¶
list_package_versions(
package_name: PackageName,
*,
config_overrides: Optional[IoTClientConfig] = None,
status: Optional[PackageVersionStatus] = None,
max_results: Optional[PackageCatalogMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListPackageVersionsResponse
Lists the software package versions associated to the account.
Requires permission to access the ListPackageVersions action.
Parameters:
-
package_name(PackageName) –The name of the target software package.
-
status(Optional[PackageVersionStatus], default:None) –The status of the package version. For more information, see Package version lifecycle.
-
max_results(Optional[PackageCatalogMaxResults], default:None) –The maximum number of results to return at one time.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results.
Raises:
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
ValidationException–The request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 | |