listSolNetworkPackages
inline suspend fun TnbClient.listSolNetworkPackages(crossinline block: ListSolNetworkPackagesRequest.Builder.() -> Unit): ListSolNetworkPackagesResponse
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.
Samples
// List information about multiple network packages without PaginationToken
val resp = tnbClient.listSolNetworkPackages {
maxResults = 25
nextToken = ""
}Content copied to clipboard
// List information about multiple network packages with PaginationToken
val resp = tnbClient.listSolNetworkPackages {
maxResults = 25
nextToken = "ug2E9SheCpyAmeLItmHF95t1rBBsFyzy5hsuauDTqaukll3AGHaTz%2B4utHS3OMuMcyKW6Hmk25aB6wtV%2BFxCx9Adw5fDSq9D8lVa6sr0Sq0BF7Fj0mYegd0a/XiFP4j/58ZIrtRl0M3Z55Z/wTqwIietXJVfFX84ZnIMjiEiFb3KIIdrKS8vSgMZ18t3Gj5p"
}Content copied to clipboard
// No more network packages to return
val resp = tnbClient.listSolNetworkPackages()Content copied to clipboard