deleteSolNetworkInstance
abstract suspend fun deleteSolNetworkInstance(input: DeleteSolNetworkInstanceRequest): DeleteSolNetworkInstanceResponse
Deletes a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
To delete a network instance, the instance must be in a stopped or terminated state. To terminate a network instance, see TerminateSolNetworkInstance.
Samples
fun main() {
//sampleStart
// Delete a Sol Network Instance.
tnbClient.deleteSolNetworkInstance {
nsInstanceId = "ni-07aa863e53460a2a6"
}
//sampleEnd
}