asTextResponseEvent
Casts this StartConversationResponseEventStream as a TextResponseEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.TextResponseEvent value. Throws an exception if the StartConversationResponseEventStream is not a TextResponseEvent.