commonMain.aws.sdk.kotlin.services.bedrockruntime.serde.MessageStartEventPayloadDeserializer.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.MessageStartEvent
import aws.smithy.kotlin.runtime.serde.json.JsonDeserializer
internal fun deserializeMessageStartEventPayload(payload: ByteArray): MessageStartEvent {
val deserializer = JsonDeserializer(payload)
return deserializeMessageStartEventDocument(deserializer)
}