asJsonSchema
Casts this OutputFormatStructure as a JsonSchema and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.JsonSchemaDefinition value. Throws an exception if the OutputFormatStructure is not a JsonSchema.
Casts this OutputFormatStructure as a JsonSchema and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.JsonSchemaDefinition value. Throws an exception if the OutputFormatStructure is not a JsonSchema.