validateSolFunctionPackageContent

Validates function package content. This can be used as a dry run before uploading function package content with PutSolFunctionPackageContent.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

Samples

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

fun main() { 
   //sampleStart 
   // Validate a Function Package content
val resp = tnbClient.validateSolFunctionPackageContent {
    vnfPkgId = "fp-07aa863e53460a2a6"
    contentType = PackageContentType.fromValue("application/zip")
    file = "UEsDBBQAAAAAAPqLiVMAAAAAAAAAAAAAAAAMACAAZnJlZTVnYy1hbWYvVVQNAAcIrrJhBK".encodeAsByteArray()
} 
   //sampleEnd
}