asInvokeModel
Casts this CountTokensInput as a InvokeModel and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.InvokeModelTokensRequest value. Throws an exception if the CountTokensInput is not a InvokeModel.
Casts this CountTokensInput as a InvokeModel and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.InvokeModelTokensRequest value. Throws an exception if the CountTokensInput is not a InvokeModel.