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