listSolNetworkPackages
abstract suspend fun listSolNetworkPackages(input: ListSolNetworkPackagesRequest = ListSolNetworkPackagesRequest { }): 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
fun main() {
//sampleStart
// List information about multiple network packages without PaginationToken
val resp = tnbClient.listSolNetworkPackages {
maxResults = 25
nextToken = ""
}
//sampleEnd
}
fun main() {
//sampleStart
// List information about multiple network packages with PaginationToken
val resp = tnbClient.listSolNetworkPackages {
maxResults = 25
nextToken = "ug2E9SheCpyAmeLItmHF95t1rBBsFyzy5hsuauDTqaukll3AGHaTz%2B4utHS3OMuMcyKW6Hmk25aB6wtV%2BFxCx9Adw5fDSq9D8lVa6sr0Sq0BF7Fj0mYegd0a/XiFP4j/58ZIrtRl0M3Z55Z/wTqwIietXJVfFX84ZnIMjiEiFb3KIIdrKS8vSgMZ18t3Gj5p"
}
//sampleEnd
}
fun main() {
//sampleStart
// No more network packages to return
val resp = tnbClient.listSolNetworkPackages()
//sampleEnd
}