list_sol_network_packages
async
¶
list_sol_network_packages(
*,
config_overrides: Optional[AsynctnbClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[PaginationToken] = None,
) -> ListSolNetworkPackagesOutput
Lists network packages.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
Parameters:
-
max_results(Optional[int], default:None) –The maximum number of results to include in the response.
-
next_token(Optional[PaginationToken], default:None) –The token for the next page of results.
Raises:
-
AccessDeniedException–Insufficient permissions to make request.
-
InternalServerException–Unexpected error occurred. Problem on the server.
-
ThrottlingException–Exception caused by throttling.
-
ValidationException–Unable to process the request because the client provided input failed to satisfy request constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List information about multiple network packages without PaginationToken
>>> await client.list_sol_network_packages(max_results=25, next_token='')
List information about multiple network packages with PaginationToken
>>> await client.list_sol_network_packages(max_results=25, next_token='ug2E9SheCpyAmeLItmHF95t1rBBsFyzy5hsuauDTqaukll3AGHaTz%2B4utHS3OMuMcyKW6Hmk25aB6wtV%2BFxCx9Adw5fDSq9D8lVa6sr0Sq0BF7Fj0mYegd0a/XiFP4j/58ZIrtRl0M3Z55Z/wTqwIietXJVfFX84ZnIMjiEiFb3KIIdrKS8vSgMZ18t3Gj5p')
No more network packages to return
Source code in docs_src/capo_tnb/_services/async_tnb.py
1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 | |