asInvokeComplete
Casts this InvokeWithResponseStreamResponseEvent as a InvokeComplete and retrieves its aws.sdk.kotlin.services.lambda.model.InvokeWithResponseStreamCompleteEvent value. Throws an exception if the InvokeWithResponseStreamResponseEvent is not a InvokeComplete.