asAuto

Casts this ToolChoice as a Auto and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.AutoToolChoice value. Throws an exception if the ToolChoice is not a Auto.