validateSolNetworkPackageContent
abstract suspend fun validateSolNetworkPackageContent(input: ValidateSolNetworkPackageContentRequest): ValidateSolNetworkPackageContentResponse
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
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
}