commonMain.aws.sdk.kotlin.services.bedrockruntime.serde.ValidationExceptionPayloadDeserializer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bedrockruntime-jvm Show documentation
Show all versions of bedrockruntime-jvm Show documentation
The AWS SDK for Kotlin client for Bedrock Runtime
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.bedrockruntime.serde
import aws.sdk.kotlin.services.bedrockruntime.model.ValidationException
import aws.smithy.kotlin.runtime.serde.json.JsonDeserializer
internal fun deserializeValidationExceptionPayload(payload: ByteArray): ValidationException {
val deserializer = JsonDeserializer(payload)
return deserializeValidationExceptionDocument(deserializer)
}