commonMain.aws.sdk.kotlin.services.cloudwatchlogs.serde.StartLiveTailResponseDocumentDeserializer.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.cloudwatchlogs.serde
import aws.sdk.kotlin.services.cloudwatchlogs.model.StartLiveTailResponse
import aws.smithy.kotlin.runtime.serde.Deserializer
import aws.smithy.kotlin.runtime.serde.SdkObjectDescriptor
import aws.smithy.kotlin.runtime.serde.deserializeStruct
internal fun deserializeStartLiveTailResponseDocumentkKgqd0lv(deserializer: Deserializer): StartLiveTailResponse {
val builder = StartLiveTailResponse.Builder()
deserializer.deserializeStruct(SdkObjectDescriptor.build {}) {
loop@while (true) {
when (findNextFieldIndex()) {
null -> break@loop
else -> skipValue()
}
}
}
builder.correctErrors()
return builder.build()
}