asSearchResult
Casts this ContentBlock as a SearchResult and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.SearchResultBlock value. Throws an exception if the ContentBlock is not a SearchResult.
Casts this ContentBlock as a SearchResult and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.SearchResultBlock value. Throws an exception if the ContentBlock is not a SearchResult.