commonMain.aws.sdk.kotlin.services.kinesis.serde.SubscribeToShardResponseDocumentDeserializer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kinesis-jvm Show documentation
Show all versions of kinesis-jvm Show documentation
The AWS SDK for Kotlin client for Kinesis
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.kinesis.serde
import aws.sdk.kotlin.services.kinesis.model.SubscribeToShardResponse
import aws.smithy.kotlin.runtime.serde.Deserializer
import aws.smithy.kotlin.runtime.serde.SdkObjectDescriptor
import aws.smithy.kotlin.runtime.serde.deserializeStruct
internal fun deserializeSubscribeToShardResponseDocumentoDjO66AN(deserializer: Deserializer): SubscribeToShardResponse {
val builder = SubscribeToShardResponse.Builder()
deserializer.deserializeStruct(SdkObjectDescriptor.build {}) {
loop@while (true) {
when (findNextFieldIndex()) {
null -> break@loop
else -> skipValue()
}
}
}
builder.correctErrors()
return builder.build()
}