validateSolNetworkPackageContent

Validates network package content. This can be used as a dry run before uploading network package content with PutSolNetworkPackageContent.

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

import aws.sdk.kotlin.services.tnb.model.PackageContentType

fun main() { 
   //sampleStart 
   // Validate the network package content of a NSD archive
val resp = tnbClient.validateSolNetworkPackageContent {
    nsdInfoId = "np-0d5b823eb5c2a9241"
    contentType = PackageContentType.fromValue("application/zip")
    file = "UEsDBBQAAAAAAPqLiVMAAAAAAAAAAAAAA".encodeAsByteArray()
} 
   //sampleEnd
}