putSolNetworkPackageContent

Uploads the contents of a network package.

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 
   // Upload the network package content of an NSD archive
val resp = tnbClient.putSolNetworkPackageContent {
    nsdInfoId = "np-0d5b823eb5c2a9241"
    contentType = PackageContentType.fromValue("application/zip")
    file = "UEsDBBQAAAAAAPqLiVMAAAAAAAAAAAAAA".encodeAsByteArray()
} 
   //sampleEnd
}